10-20-2008 03:02 PM
TestSTAND date data type
I use TestSTAND pop up message to request user to input date in the input string
for example: 10/8/2008 in TestSTAND input string in popup message.
I assume this is a string
how do I compare this date to today date or any other date.?
Does TestSTAND have a TestSTAND Date data type?
10-20-2008 03:34 PM
Hi,
No TestStand doesn't have a Date type.
The Date() function returns a string i.e "20/10/2008". Therefore, providing you entered in the same format you could do a StrComp(Locals.DateEntered, Locals.CurrentDate) which if the same would return 0.
But you could get Date() to return the individual Year, Month, Day values then you could do a check on these values. Check out the syntax in the Function Browser.
Hope this helps
Regards
Ray Farmer