Date Format

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?
Parents
  • Hi Sanpal,

    You can do that with the parameter list with Date/Time parameter type.

    If required format dosen't exists you can create your own format and use the same. Follow below step to make the date in your required format:

    1. Open parameter list.

    2. Add new parameter use select type as Date/Time.

    3. Type %d/%m/%y in Date/Time format field.

    4. Press Add format tab. The customized format will get added in list.

    5. Close the lise and now you can use the new created parameter at desired place.

    Good Luck!!!

    Thanks
    Champ
Reply
  • Hi Sanpal,

    You can do that with the parameter list with Date/Time parameter type.

    If required format dosen't exists you can create your own format and use the same. Follow below step to make the date in your required format:

    1. Open parameter list.

    2. Add new parameter use select type as Date/Time.

    3. Type %d/%m/%y in Date/Time format field.

    4. Press Add format tab. The customized format will get added in list.

    5. Close the lise and now you can use the new created parameter at desired place.

    Good Luck!!!

    Thanks
    Champ
Children
No Data