I’m developing an application for mac and windows 10. I’m building it brick by brick so to say and now a simple line of code does not seem to work on windows 10. I think I’m overseeing something, but I can’t figure it out what.
I want to print the shortdate in a textarea. On mac this works, but on windows it gives me a blank space. When I use the example code for shortdate it also does not work.
Example code:
Dim d As New Date
MsgBox(d.shortdate)
I’ve checked the locale of my windows 10 machine and the short date is there how I want it to see in a textarea or a msgbox.
have you checked the Win10 System Preferences for how dates should be formatted?
Perhaps on this particular machine the format is invalid (or blank)??? just an idea