0

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

1
  • Well, what did its documentation say?
    – user529758
    Jul 13, 2013 at 6:55

2 Answers 2

1

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.

0

To convert to Excel date time we need to do :

(getmicrotime() / 86400) + 25569

This will give the corresponding excel date at GMT

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.