79824603

Date: 2025-11-19 15:02:43
Score: 4.5
Natty:
Report link

@TimWilliams sorry, nevermind the testing code. I found my error--it was a typo in the file name. So, I'm getting data now and we are back to the original question...

What is the best way to take a binary date, e.g., out of a byte array, and turn it back into a valid VBA date? Just change the Type block to use Date datatypes? But if non-standard data lengths are used (e.g., 6 bytes, instead of 8), what then?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @TimWilliams
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Dave Clark