note 45722 deleted from function.getdate by danbrown

From: Date: Sun, 20 Jul 2008 03:08:39 +0000
Subject: note 45722 deleted from function.getdate by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142025@lists.php.net to get a copy of this message
Note Submitter: Liis make ---- function win2unix($date_string,$date_timestamp) { $epoch_diff = 11644473600; // difference 1601<>1970 in seconds. see reference URL $date_timestamp = $date_timestamp * 0.0000001; $unix_timestamp = $date_timestamp - $epoch_diff; echo date($date_string,$unix_timestamp); }

« previous php.notes (#142025) next »