First of all, hello everybody, I am having some problems generating timestamps. I have a simple application, the user selects a month, a day and a year and submits it's data. Now, I want that date to be stransformed into a unixtimestamp. To do that I use strtotime('m/d/y') for 01 January 2011 it would be: strtotime('01/01/2011') Now, a fiew days ago, the timestamp generated by this was: 1293840000 After a hardware failure, I reinstalled my linux with the same settings... now, a timestap of 01/01/2011 is returned as: 1293832800 What am I doing wrong? # ls -al /etc/localtime lrwxrwxrwx 1 root root 36 Feb 7 19:54 /etc/localtime -> /usr/share/zoneinfo/Europe/Bucharest # date Tue Feb 8 13:29:15 EET 2005 # echo $TZ Europe/Bucharest # Also mktime generates the second timestamp ...damn, I really don't know why there are two different timestamps for the same date. -- Stefan, a simple CRUX Linux user. Linux registered user: #272012 [Linux is Friendly. It's just selective about who his friends are.] -- This message was scanned for spam and viruses by BitDefender For more information please visit http://linux.bitdefender.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php