On 1/29/07, vijay <[EMAIL PROTECTED]> wrote:
I do not know what command to use to make Watir output the current system
date and to convert it into the desired format, dd-mon- (22-Jan-2007).
Watir can not do it, but Ruby can.
Time.now.strftime("%d-%b-%Y")
=> "29-Jan-2007"
For more inform
Hello people,
I do not know what command to use to make Watir output the current system date
and to convert it into the desired format, dd-mon- (22-Jan-2007). I want
the current system date inorder to check whether a particular field present in
the application has the currrent date or not.