php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #10055 strtotime() doesn't work on MSSQL standard dates
Submitted: 2001-03-29 09:59 UTC Modified: 2004-04-13 16:33 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: rsignes at iqep dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.4pl1 OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rsignes at iqep dot com
New email:
PHP Version: OS:

 

 [2001-03-29 09:59 UTC] rsignes at iqep dot com
MSSQL returns dates in the format: "Mar 2 2001 9:21PM".
strtodate() can't handle that, and MSSQL is sorely lacking a unix_timestamp or date_format() function.  I've written my own routine to handle this, but it'd be swell if it worked out of the box.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-13 16:33 UTC] sniper@php.net
In PHP 4.3.6RC3-dev this seems to work just fine..

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu May 08 07:01:27 2025 UTC