Skip to content

Commit 46b40cc

Browse files
karlsoderbyalranel
andauthored
Update content/arduino-cloud/01.getting-started/02.technical-reference/iot-cloud-tech-ref.md
Co-authored-by: Alessandro Ranellucci <[email protected]>
1 parent 6abb1d7 commit 46b40cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/arduino-cloud/01.getting-started/02.technical-reference/iot-cloud-tech-ref.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ For example, one button could set three smart bulbs to the same color by just se
133133

134134
### Local Time
135135

136-
To retrieve local time, use the `ArduinoCloud.getLocalTime()` function in a sketch. The value returned is the Unix timestamp or UTC, and automatically adjusts based DST (Daylight Time Savings) and the configured time zone. This is changed inside your Thing configuration.
136+
To retrieve local time, use the `ArduinoCloud.getLocalTime()` method in your sketch. The value returned represents the current local time expressed as a Unix timestamp (i.e. seconds from the epoch), and it automatically takes your time zone settings and DST (Daylight Saving Time) into account. Time zone can be set in the Thing configuration page within the Arduino IoT Cloud platform.
137137

138138
This data can be stored in a `CloudTime` variable, and can be visualed using the [Time Picker widget](/arduino-cloud/getting-started/technical-reference#time-picker).
139139

0 commit comments

Comments
 (0)