문제

What does C BSD getmicrotime() function returns?Does it returns epoch time in Unix? How to convert that to Excel Date Format?

도움이 되었습니까?

해결책

It returns void, however it sets the timeval pointer that you pass to it. Normally the microseconds which have elapsed since the Unix Epoch.

As to how to convert it to Excel Date, I'm unsure.

다른 팁

To convert to Excel date time we need to do :

(getmicrotime() / 86400) + 25569

This will give the corresponding excel date at GMT

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top