mktime
Posted: Fri Dec 13, 2002 4:19 am
Hi I am newbie and I am working with the mktime() function and I have worked out how to show an image if the time difference between two dates is less than 3 days.
Where my problem lies is i want to pass a variable $date (which comes out in this format 2002-12-10) which comes from mysql database to the mktime function which will then give me a unix timestamp.
Hope that makes sense
Where my problem lies is i want to pass a variable $date (which comes out in this format 2002-12-10) which comes from mysql database to the mktime function which will then give me a unix timestamp.
Hope that makes sense