So while "use UTC internally and local time for display" is often good advice, as a Dutchman living in Canada, you get to notice the cases where it isn't. Like if my birth date is the seventh of the month, don't show it to me as the sixth because our clocks run behind yours. #coding #software
@reinierl Can you elaborate on the problem? Are you saying you entered 7 in the input control, but it's showing 6? It should just show whatever you put in it if it's coded correctly. Unless you mean you tried to enter your birthday in Dutch time.

@Static_7B I tap 7, it shows 6. What I assume is happening: their code gets a date from the datepicker, stores it as a timestamp for midnight UTC or midnight Dutch time of that date, and when it comes to display, does the conversion of the timestamp to Edmonton time and displays the date of the result.

I'm reading into the behaviour I'm seeing, so I could be wrong.

This is in the NS International app BTW.

@reinierl @Static_7B funny you mention that. I, from Canada, want to buy train tickets on NS international for 20 and 24 April in Brussels and the result gives me 19 and 23 April (or the other way around, I forgot). Either way, got that same time difference like you.