Jump to content

[SOLVED] get time()


ayok

Recommended Posts

Hi,

 

I've been trying to find the numbers of time() from a date.

For example: if we echo a time(), then we'll get numbers like 1203432432 which show the time today from 1 jan 1970. But how can I find those numbers in other way around from an existing date like 24 October 2008? Is it possible?

 

thanks,

ayok

Link to comment
https://forums.phpfreaks.com/topic/129939-solved-get-time/
Share on other sites

He probably found the strtotime() function in the php manual - http://us2.php.net/strtotime

 

probably yeah!  if he had googled his question he would have found it, i was just trying to help the overall dynamic as in if you figure it out and post the solution for the record, instead of saying "nevermind i got it", and then mark the topic as solved it'll help make the forums more efficient.

 

but if this is frowned upon or restricted to mods then my bad  :-[

Link to comment
https://forums.phpfreaks.com/topic/129939-solved-get-time/#findComment-673815
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.