The original code works on iOS, which is the only place you should be using Xojo.Core.Date at this point. Still, Ive updated the code sample to be more precise.
For desktop, you probably want to use DateTime instead.
[quote=469614:@Paul Lefebvre]The original code works on iOS, which is the only place you should be using Xojo.Core.Date at this point. Still, Ive updated the code sample to be more precise.
For desktop, you probably want to use DateTime instead.[/quote]