Jump to content

[SOLVED] printing date with offset


Eris

Recommended Posts

Hi!

I have an integer timestamp, for example 1217147392 which means 27/07/2008 08:29:52 and I want it to be printed in GMT +3 offset that is: 27/07/2008 11:29:52. I don't want to change locale, just need a function that takes the offset as argument and returns new time.

Is there a standard function like that or I have to write my own one?

Thx

Link to comment
https://forums.phpfreaks.com/topic/116826-solved-printing-date-with-offset/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.