C3 IoT Server Time


What is the server time on C3 Iot servers?

A DateTime created in a javascript function for a type was persisted in the correct UTC time, not local time, implying that the server time is UTC +0. Is that correct and will that always be the case?



Yes, C3 clusters are configured to operate at UTC. It is a distributed system, so the physical locations of the machines in one cluster could span multiple timezones, but “local” time is always UTC.

1 Like


Yes by default, DateTime.now() will return you time in UTC on the server side.

If you need time in a different zone you can use apis on TimeZone.c3typ. See TimeZone.convert

1 Like