Search found 2 matches
- Wed Apr 18, 2007 7:10 pm
- Forum: PHP - Code
- Topic: Date Formats
- Replies: 10
- Views: 1057
dateformat
I just don't understand why this is so hard to do. My timestamp that is stored in the database is 2007-04-17. I want it to display as 04-17-07. I am trying the date function, but it is displaying as 12-31-1969. I am assuming that this is the unix timestamp, but what can I do to just transform the da...
- Tue Apr 17, 2007 7:59 pm
- Forum: PHP - Code
- Topic: Date Formats
- Replies: 10
- Views: 1057
Date Formats
I know this is simple, but I am new to PHP and need help. I am using PHP with PHPMyAdmin and MySQL. I am wanting to capture the user's date of birth. I know the database stores the timestamp and date fields as yyyy-mm-dd. As long as the user enters their date of birth as yyyy-mm-dd, it stores in the...