note 37141 added to function.date
| From: | rob at theanswershop dot com | Date: | Tue, 04 Nov 2003 20:40:05 +0000 |
| Subject: | note 37141 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59904@lists.php.net to get a copy of this message | ||
MS SQL Server datetime Notation (MSSQL)
date("n/j/Y g:i:s A");
This will produce a string that MSSQL will accept as datetime.
Produces a string like: "11/4/2003 3:15:01 AM"
==============================================
cheers
http://theanswershop.com
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37141
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37141&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37141&report=yes
Search -- http://master.php.net/manage/user-notes.php