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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.