Re: [PHP-WIN] date and time operation

2003-01-17 Thread Dash McElroy
By any chance have you looked at the date() function in PHP? Check the manual at http://www.php.net/manual/en/function.date.php. date() pairs up nicely with checkdate and with mktime (http://www.php.net/manual/en/function.mktime.php). Thusly, Use the following examples: $year = date("Y"); //4 dig

RE: [PHP-WIN] date and time

2002-08-13 Thread Ross Fleming
See http://www.php.net/manual/en/function.mktime.php to make unix time stamps from the date/times. It's an integer denoting the number of seconds that have passed since the Unix Epoch (1/1/1970 0:00). The greatest integer is the later date/time Ross > -Original Message- > From: Sandeep