What are you trying to accomplish over all? ---John Holmes... ----- Original Message ----- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 29, 2002 11:37 PM Subject: [PHP] Month Values in UNIX timestamps and workaround(Newbie)
I began to write a function that correctly diveded up the months into their correct UNIX timestamps and wrote content from a database accordingly. I have had an idea that maybe eaiser to implement but slower. Could one or two people tell me what the think and if it is a good idea. I am also interested in speed and efficiany of both methods. The original method is: I do a few maths functions to get the value in seconds of each month etc New Method: I do string compares with with dates then convert them to UNIX timestamps. JJ Harrison [EMAIL PROTECTED] www.tececo.com ------------------------------------------------------------------------------ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php