Vyrsh
January 14, 2026, 8:24am
1
Can I know the gap between the current date and one that I have picked in a DatePicker, example, the current day is 14 and I picked 10 and it shows that 4 days have passed, can I do that?
Peter
January 14, 2026, 9:28am
2
I want to calulate the day-differece between to time-instants (I got them from time.now). The Problem:
The 1st Instant is from 1 msec before Midnight, the next ist from 1 msec asfter midnight (2 msec later!), this should give the dfference of 1 day!
Any suggestions?
You could adapt this using the datepicker.
TIMAI2
January 14, 2026, 9:33am
3
Here I selected 10/01/2026 in the datepicker and clock1.now returns 14/01/2026
Vyrsh
January 14, 2026, 10:10am
4
I think I did something wrong but what I wanna do is when I select a date and it was say, 4 days ago, it makes "test' visible.