[depr.ctime]

# Annex D (normative) Compatibility features [[depr]](./#depr)

## D.21 Deprecated time formatting [depr.ctime]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/future.tex#L776)

The header [<ctime>](ctime.syn#header:%3cctime%3e "30.15 Header <ctime> synopsis [ctime.syn]") has the following additions:char* asctime(const tm* timeptr);char* ctime(const time_t* timer);

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/future.tex#L783)

The functions asctime and ctime are not required to avoid data races ([[res.on.data.races]](res.on.data.races "16.4.6.10 Data race avoidance"))[.](#2.sentence-1)

See also: ISO/IEC 9899:2024, 7.29
