Welcome Guest, Not a member yet? Register   Sign In
need the number of seconds since....
#3

So my current activity dates appear like this: "Mon Aug 13 2018". I am not sure what the T and Z and the format('U') is about. Stepping with the debugger I do see that your date '2015-12-21T17:42:34Z' was transformed to a number. so that is looking good. How would I create that string in PHP. In C I would used sprintf to output to a buffer. Does CI/PHP have something analogous?

20150311T122706Z
proof that an old dog can learn new tricks
Reply


Messages In This Thread
RE: need the number of seconds since.... - by richb201 - 08-14-2018, 01:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB