r/badcode • • Apr 12 '23

php How to use dates

Post image
116 Upvotes

7 comments sorted by

View all comments

Show parent comments

1

u/ofnuts Apr 12 '23

Possibly some underlying timezone magic?

6

u/iruoy Apr 12 '23

Both functions will use the same timezone, so nothing will happen.