Search code examples
cexcelbsd

BSD getmicrotime() output to Excel Date


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


Solution

  • 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.