Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..
129 views

Date Format question

I have a line 

'SignatureDate = Browser("A").Page("B").WebEdit("WebEdit_3").GetROProperty("value")

which returns value 2020-07-02

then....

'ActualDate = Date    

I would like it to return a value of SignatureDate variable = to the format of the ActualDate variable

so that can compare 'SignatureDate = ActualDate

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

hi, there

if i am not mistaken, the value on the web page is configured by the server while the value of the VBS is system dependent. If so, in order to compare the date, some coding is a must to handle different value format.

Thanks.

James

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.