Date_format (PHP 5 >= 5.2.0, PHP 7). Take the date/time of now (in ISO 8601 format), discard the trailing Daylight Savings Time specifier, add a 'Z' where the DST.
Short story: the guy that originally wrote this code was [and probably still is] pants-on-head retarded. The code in question receives payment events from our provider and logs them into the database with the format: 'o-m-d H:i:s' This is all well and good, except the%o modifier will give you a different year if the ISO-8601 week 'belongs' to a different year. Epson Fx 2175 Driver For Windows 8 32 Bit. [] Case in point: we have payments logged for 2013-12-31 which, in normal/not-crazy-person date, should be 2012-12-31. So for all intents and purposes we see what appear to be payments happening in the future, and occasionally in the past. The real problem here is that I cannot find any date parsing function in PHP or mySQL that will interpret the%o flag, thus preventing me from re-formatting these dates back into something sane. Does anyone know how to get these dates interpreted properly?
@AxelAmthor Yes, they are written in a 'proper' format, but then problem is that I cannot make PHP read it back in in the same format so that I can add/subtract date intervals. These o-m-d formats are everywhere in this code, and there are already thousands of database records written with this format that I need to work with. Even if I could just 'change the code' I'd still need to be a able to read in and re-write the dates from o-m-d to Y-m-d and PHP doesn't have a function that will read it.
This is the entire point of this question. Pci Serial Port Driver Hp Prodesk 600 there. – Jun 17 '13 at 19:09.