Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa PHP How to convert date to time in PHP?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


annysharing
How to convert date to time in PHP?
0 Answer(s)      3 years and 8 months ago
Posted in : PHP


Hi, programmer. The PHP programming language has several useful functions for getting and manipulating the date and time. The PHP "time()" function is used to get the current Unix timestamp, a number representing the number of seconds since January 1, 1970 Greenwich Mean Time (GMT). This number is handy for generating unique and random numbers, but as a readable date and time, it leaves much to be desired. Luckily, the PHP "date()" function was designed to format this timestamp using a custom format. I google search and found some PHP Date time scripts listed on the page. Glad to sharing with guys and girls who interested in PHP. Hopefully can help you! Best regards! Anny


Advertisement
View Answers

Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com