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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC