Welcome Guest, Not a member yet? Register   Sign In
Invalid serialization data for DateTime object
#2

Rather than saving the DateTime as a string, have you considered saving it as an integer, that is the number of seconds, as you are getting from time()?

That would remove the parsing problem and make it easier to transform the date into something easier to process. You can always turn a time() into a DateTime.
Reply


Messages In This Thread
RE: Invalid serialization data for DateTime object - by Chroma - 08-27-2020, 04:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB