Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20563

BASCOM-AVR : Unix epoch time -->> DD-MM-YYYY : REPLY

$
0
0
I'd try with the syssec() function. There's a difference however, Unix-second starts to count from 1.1.1970 00:00:00 GMT, while syssec() does from 1.1.2000 00:00:00, see the help. As 1.1.2000 00:00:00 is 946684800 in Unix-time [url]http://www.epochconverter.com[/url], it may suffice to subtract that constant from Unix-time and put it into sysec(). Not tested however.

Viewing all articles
Browse latest Browse all 20563

Trending Articles