PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
nmotion
Forum Commoner
Posts: 32 Joined: Wed Jan 22, 2003 6:53 am
Post
by nmotion » Mon Apr 21, 2003 8:27 am
I have a date formated as follows:
2003-05-25
I want to be able to use the various formatting options I have with date()
How to I convert the date to a UNIX timestamp so I can do this. Or is this the wrong approach ? Any help will help
twigletmac
Her Royal Site Adminness
Posts: 5371 Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK
Post
by twigletmac » Mon Apr 21, 2003 9:39 am
Is the date coming from a database or is it from elsewhere within your script?
Mac
nmotion
Forum Commoner
Posts: 32 Joined: Wed Jan 22, 2003 6:53 am
Post
by nmotion » Mon Apr 21, 2003 9:41 am
From a MySql database.