in reply to time passed calculation
But the last comparison is definitely not doing what you think:
Both the values are strings, so the numeric equality will interpret them in numeric context, leaving just the month. So, if you run the check around the midnight of a month break, there will be no output at all.$Seen == $CurrentDateTime
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: time passed calculation
by frank1 (Monk) on Jan 27, 2022 at 18:48 UTC | |
by Anonymous Monk on Jan 28, 2022 at 17:09 UTC | |
by frank1 (Monk) on Jan 27, 2022 at 18:55 UTC | |
by frank1 (Monk) on Jan 27, 2022 at 19:32 UTC |