Skip to content

Commit a064d8a

Browse files
author
deepikabhavnani
committed
Corrected the link and removed misleading statement
1 parent 6f69c83 commit a064d8a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/reference/api/platform/Time.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22

33
The C `date` and `time` functions are a group of functions in the standard library of the C programming language implementing date and time manipulation operations. They provide support for time acquisition, conversion between date formats and formatted output to strings.
44

5-
The C library function `time` reads the current RTC time if enabled, else time is set to 0 with `set_time` before reading RTC.
6-
75
You can convert time to a human-readable format using `ctime`, `localtime`, `strftime` and other C standard functions.
86

97
You cannot use `mktime` and `localtime` C standard library functions in an interrupt handler with the GCC toolchain. We have added dedicated routines for `mktime` and `localtime`, which are optimized and faster then C standard library functions, to overcome this issue.
108

119
### RTC Time class reference
1210

13-
[![View code](https://www.mbed.com/embed/?type=library)](https://os.mbed.com/docs/v5.6/mbed-os-api-doxy/mbed__rtc__time_8h_source.html)
11+
[![View code](https://www.mbed.com/embed/?type=library)](https://os.mbed.com/docs/v5.6/mbed-os-api-doxy/mbed__mktime_8h_source.html)
1412

1513
### Time example
1614

0 commit comments

Comments
 (0)