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

RE: [PHP-WIN] date and time

2002-08-13 Thread Ross Fleming
om: Sandeep Murphy [mailto:[EMAIL PROTECTED]] > Sent: 13 August 2002 16:39 > To: Php-Windows > Subject: [PHP-WIN] date and time > > > hi, > > I have the date and time coming from 2 columns of 2 different > tables.. What wud be the easiest way to get the greater of the two

[PHP-WIN] date and time

2002-08-13 Thread Sandeep Murphy
hi, I have the date and time coming from 2 columns of 2 different tables.. What wud be the easiest way to get the greater of the two ??? so i hv to format the date and time ??? thnx, sands -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php