This example was great for me to convert GMT to EST by subtracting the datetime of a timestamp by 4*60*60 (the number of seconds in 4 hours). This was needed for my admin audit reports. Thanks for sharing!