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-yyyy (22-Jan-2007).
Watir can not do it, but Ruby can. Time.now.strftime("%d-%b-%Y") => "29-Jan-2007" For more information, see http://dev.rubycentral.com/ref/ref_c_time.html#strftime -- Zeljko Filipin zeljkofilipin.com
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general