Our solution was to create the following constant on our DateHelper object. format ( 'c' ) // ISO8601 formated datetimeĮcho $objDateTime -> format ( DateTime :: ISO8601 ) // Another way to get an ISO8601 formatted stringīoth of these strings are valid ISO8601 datetime strings, but the latter is not accepted by the constructor of JavaScript's date object on iPhone. There is a subtle difference between the following two statments which causes JavaScript's Date object on iPhones to fail. DateTime::sub - Subtracts an amount of days, months, years, hours, minutes and seconds from. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |