note 29070 added to function.strftime

From: Date: Fri, 31 Jan 2003 23:05:33 +0000
Subject: note 29070 added to function.strftime
Groups: php.notes 
Request: Send a blank email to php-notes+get-43233@lists.php.net to get a copy of this message
How do I get the time, without seconds, depending on the users preferences (e.g. 8:30PM or 20:30). Is there a tricky way I can 'read' the 24 hour vs. 12 hour preference, and then act accordingly? -- http://www.php.net/manual/en/function.strftime.php http://master.php.net/manage/user-notes.php?action=edit+29070 http://master.php.net/manage/user-notes.php?action=delete+29070 http://master.php.net/manage/user-notes.php?action=reject+29070

« previous php.notes (#43233) next »