$date = date("DdSF,Y"); $time = date("g:i:sa");
I have no problem with this, it works fine. However, I do have a problem with the time it pulls out. Whilst it works fine, since it's in UTC and I'm in GMT it is always 5 hours behind. I'm looking for a way to solve this. I've been told that I need to add 18000 seconds to the time (Since that's 5 hours). As far as I can see, this will work, except for DST.
Any ideas how I can either get it to add 18000 all the time, or work out the time for DST as well?