PDA

View Full Version : translate the date


interactiu
03-21-2005, 06:43 PM
Hello!

I administrate the events with an external php made by me. How I can translate a dates stored in mysql to a normal date? yyyy-mm-dd ? and vice versa?

Thank you a lot!

Brian
03-21-2005, 06:48 PM
The PHP explode command could be useful.

interactiu
03-21-2005, 06:54 PM
The PHP explode command could be useful.

if I add an event with the event administrator, the date 2005-03-18 in the mysql stores "2453448".. how to make this translation?

Brian
03-21-2005, 10:31 PM
Oh... that number is based on the Julian day numbering system. You should be able to find information on the web about it.