Jump to content

timestamp to date


birdie

Recommended Posts

I know in javascript you simply use there preset date functions, I think php has those 2. at www.php.net, and I am reading that book on www.hudzilla.com it will help alot, as you can learn all of php off that, or go to the functions section and look around through the ones about dates.
Link to comment
https://forums.phpfreaks.com/topic/7675-timestamp-to-date/#findComment-27994
Share on other sites

also this might help I found it.
[a href=\"http://www.hudzilla.org/phpbook/read.php/4_0_0\" target=\"_blank\"]http://www.hudzilla.org/phpbook/read.php/4_0_0[/a]
specifically what you would need are chapters
4.5. Working with Date and Time

4.5.1. Reading the current time: time() and microtime()
4.5.2. Converting from a string: strtotime()
4.5.3. Converting to a string: date()
4.5.4. Converting from components: mktime()


hope that helps.
Link to comment
https://forums.phpfreaks.com/topic/7675-timestamp-to-date/#findComment-28025
Share on other sites

[!--quoteo(post=365865:date=Apr 18 2006, 04:28 AM:name=businessman332211)--][div class=\'quotetop\']QUOTE(businessman332211 @ Apr 18 2006, 04:28 AM) [snapback]365865[/snapback][/div][div class=\'quotemain\'][!--quotec--]
also this might help I found it.
[a href=\"http://www.hudzilla.org/phpbook/read.php/4_0_0\" target=\"_blank\"]http://www.hudzilla.org/phpbook/read.php/4_0_0[/a]
specifically what you would need are chapters
4.5. Working with Date and Time

4.5.1. Reading the current time: time() and microtime()
4.5.2. Converting from a string: strtotime()
4.5.3. Converting to a string: date()
4.5.4. Converting from components: mktime()
hope that helps.
[/quote]
thanks that helps!
Link to comment
https://forums.phpfreaks.com/topic/7675-timestamp-to-date/#findComment-28172
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.