I need one input parameter of type DateTime. But this parameter should take value from File. If i try to add as string parameter it displays in )1-May-1965 format. I need the format as 1/05/1965. Since this is not current date , lr_save_datetime won't work. Is there any soln apart from adding code lines to modifing format? any load runnner function call?
thank you.. all the soln u specified above would fetch current date/time.My requirement is to pass parameter of type date, but to store user defined date/time value like DOB.lr_save_datetime would give me flexibility to change format for current date or other system defined date/time. but not userdefined?
Again , may be i'm not making myself clear. It is not about format, it about value of date. when i add format it will still fetch system value current one. How can i generalize offset value in lr_save_datetime. My input file(csv file) contains: FirstName LastName DOB john smith 23/06/1987 Jim Carry 01//01/1956
But i need to create parameter of date and fetch DOB columns from file on each iteration. .
good point, but my script also fetches DOB from db. From DB , date is returned as string in format 12-May-1982. I need to do compare b/w input and Database returned DOB. i need to add few lines to change format for DOB from DataBase to match input. Since i'm newbie to loadrunner, i thought there might be simple fun call.. that y posted here for experts suggestion :)