aziz rasul
Active member
- Local time
- Today, 23:42
- Joined
- Jun 26, 2000
- Messages
- 1,935
When I used
in the latter part of last month, the above code worked. But now it only works if I change the code to
The date\time #8/20/2013 4:41:00 PM# can change depending on which date\time I'm running this snippet of code.
How can I change the code so that it will always work irrespective of the date I use?
Code:
Format(Now(), "dd/mm/yyyy hh:nn:ss") > Format(#8/20/2013 4:41:00 PM#, "dd/mm/yyyy hh:nn:ss")
in the latter part of last month, the above code worked. But now it only works if I change the code to
Code:
Format(Now(), "mm/dd/yyyy hh:nn:ss") > Format(#8/20/2013 4:41:00 PM#, "mm/dd/yyyy hh:nn:ss")
The date\time #8/20/2013 4:41:00 PM# can change depending on which date\time I'm running this snippet of code.
How can I change the code so that it will always work irrespective of the date I use?