What is the type of the database field? If you use any kind of date as field type, the date will not be saved as a timestamp. Change it to INT(10), and showdate will work.
I really would like to use showdate(). datumtijd is a timestamp-type in the database. I use now() to get the date and time into the database. I guess it should work, but it doesn't. Any ideas?
Hi GMUDuckman, The problem is that this code gives me 1 January 1970 01:33 and not the date that's in the Database. I checked this with phpmyadm. The date in the database is 2011-01-19 21:41:03