So, I have this:
date('c')
which formats it like this:
2010-08-17T08:55:14-07:00
but I need a way to not have a colon in the offset, so maybe it will look like this:
2010-08-17T08:55:14-0700
What is the solution for this? I hope for a slightly different format, instead of getting the string and replacing the last colon (using reg-ex or something else).
timezone php
Matthew Aug 17 '10 at 16:00 2010-08-17 16:00
source share