1. Computing

Discuss in my forum

Angela Bradley

Future Timestamp

By , About.com GuideSeptember 5, 2010

Follow me on:

If you need to generate a timestamp for a past or future date in PHP you can do so using the mktime () function.  By default it will be formatted as the amount of seconds that have past since January 1st 1970.  The date () function can be used to to translate it into a human friendly format.  Read More

Comments
September 6, 2010 at 9:19 am
(1) Petah says:

Or alternatively you can use strtottime
e.g.
strtotime(‘+1 day’)
strtotime(‘tomorrow’)
strtotime(‘next week’)

September 7, 2010 at 7:42 pm
(2) amir says:

i love you bradly.
if you are unmarried,i have a willing to marry you.
you are pretty.
email me

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
Top Related Searches date function january 1st

©2013 About.com. All rights reserved.