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.