Welcome to WebmasterWorld Guest from 54.144.77.26

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

php date saved thru db and retrive, best way to do this?

php date saved in DB and then retrive, what is the best way?

     

sanji41

6:33 am on Nov 24, 2010 (gmt 0)

5+ Year Member



hi guys!
I have a page that acts as a blog, now i've noticed that the date that was supposed to be saved on the day the post was publish changes on the date of the pc. I've tried changing it to datetime and varchar but when I format it to (mm/dd/yy) it changes to the date of the pc..I've format it like this: November 18, 2010..

need your help. thanks!

sanji41

6:35 am on Nov 24, 2010 (gmt 0)

5+ Year Member



I forgot, what is the best way to do this and still can be formatted in the same way. thanks!