I have an error in vb3 code which I set date as 31/12/2200 and jump an error telling the format is not like locale machine.
The solution is to set manually 12/31/2200 but what I am interested is to get the locale of the machine to make it automatically.
how can I change to locale date in vb3?
I can't help you with VB3. I haven't seen that in many years now. I can give you something that will work in VB5/VB6. I do not know how well it will transfer to VB3. Hopefully if it needs work you can translate it to VB3 or find someone that can. You'll want to add appropriate error handling.