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

[PHP-WIN] date and time operation

2003-01-16 Thread Ha Duy Thien
Hello everybody ! Does anybody here deal with date and time operation in php ? If you don't mind, please show me they way to do this. I have some date and time functions in ASP and now I have to convert it to PHP. Here are some functions in ASP yr = year(date()) mon = month(date()) currentmont