This topic is locked
[SOLVED]

 How to set default value in time field?

7/18/2020 5:07:34 AM
PHPRunner General questions
G
gagsoft author

How do one set the default time in a field?

This works but it is not the local timezone

How to I get it to insert the local time which is "Africa/Johannesburg"

D
david22585 7/18/2020



How do one set the default time in a field?

This works but it is not the local timezone

How to I get it to insert the local time which is "Africa/Johannesburg"


https://asprunner.com/forums/topic/16706-time-zone-issues/
It will use the time that is set in the php or mysql server, and not your computers time. It's best to set the server up as GMT for time, and then offset to the users timezone.