[PHP] determine number of days, hours & minutes between 2 dates
The subject pretty much explains it all. I have 2 dates (MMDDHHSS format) and want to determine the number of days, hours, minutes and seconds left from the later date to the earlier date. I figure I could do all this using date arithmatic, divide by 60 seconds in a minute, 60 minutes in an hour, 24 hours in a day and so forth, but was wondering if there a better (or easier way) to do this before I start coding away.? ___ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] building a language pack
I'm the author of an opensource php auctioning system and have recently been receving alot of emails concerning the availibility of different languages. I was wondering what the best way to build a sort of language pack would be (one file for french, one for english, one for german, etc). Something like replacing one file containing the language specs & translations would translate the entire system. I'm just looking for recommendations before I start asking volunteers to translate the words. Thanks. ___ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]