Micro Focus QTP (UFT) Forums
Getting System Date without Time in Checkpoint - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Getting System Date without Time in Checkpoint (/Thread-Getting-System-Date-without-Time-in-Checkpoint)



Getting System Date without Time in Checkpoint - nilu verma - 07-02-2008

Hey Ankur,
I did what you mentioned to get current Date in a Checkpoint but it still fails because it looks at system time & fails by few milliseconds. I s there a way that I can ignore the time factor & just look at the date so that the checkpoint does not fail.
thanks,
Nilu.


RE: Getting System Date without Time in Checkpoint - surya_7mar - 07-07-2008

You can directly Date() wherever you want to call the current system Date