is there date time that considered leap second?

hello.

trying to find leap second in unreal engine but FDateTime is not considered leap second.

std::chrono::utc_clock is considered leap seconds but it is only available c++ 20, so can’t use linux.

how can i find DateTime library that added leap second?

or let me know any way to use utc_clock in linux.

thank you.

Hi

i think you can use " time.h"
in C++ the library is called < ctime >.

tm_sec → is “leap seconds”

translate this to your language:
https://gl.wikibooks.org/wiki/C/time.h

At the end of the page you have a table.

NOTE: you can use the commandline (“MAN command”) to see the linux manual too… it has a section dedicated to C language . You will find the same information there.

Best Regards!!