time Hello World

Fork of time_HelloWorld by Mbed

Use

The time interface is used to access the Real Time Clock (RTC). The time is set as an offset measured in seconds from the time epoch, which is library specific. In general the accepted time epoch is the Unix Epoch. An online converter between human readable time and Unix Epoch time is handy, try this one. If the system is not battery powered then on each reset the rtc time will be reset. Make sure to either provide battery power to keep the time or to reset it each time the device is run.

API

There is no official time API, instead you use the functions in the example code.

History

fix compiler warning default tip

2018-10-23, by Przemyslaw Stekiel [Tue, 23 Oct 2018 12:08:10 +0200] rev 5

fix compiler warning


"Update mbed-os"

2017-06-23, by sarahmarshy [Fri, 23 Jun 2017 16:54:10 -0500] rev 4

"Update mbed-os"


Ported mbed OS 2 to mbed OS 5

2017-01-19, by mab5449 [Thu, 19 Jan 2017 11:25:45 -0600] rev 3

Ported mbed OS 2 to mbed OS 5


Added license to main.c file.

2015-03-27, by mbedAustin [Fri, 27 Mar 2015 20:18:01 +0000] rev 2

Added license to main.c file.


updated libs

2014-09-21, by mbedAustin [Sun, 21 Sep 2014 18:11:11 +0000] rev 1

updated libs


time Hello World

2013-02-13, by mbed_official [Wed, 13 Feb 2013 17:07:52 +0000] rev 0

time Hello World