Changing Date format

Post variable and regex related tips, questions.

Changing Date format

Postby melvin » Tue Jun 23, 2015 2:12 pm

User support request:

Is there any feature I can use the change the date format from YYYY-MM-DD to MM/DD/YYYY?
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california

Re: Changing Date format

Postby melvin » Tue Jun 23, 2015 2:12 pm

1) If this regarding the Logging date format, you need to use the Logs menu – Preferences – logging date format
Specify the format: pp/dd/YY

2) If you want to translate variable value.. use an Extract Variable value task
REGEX: ([0-9]{1,})
Then look at the variables for this task... variable VALUE1 will be YYYY, value2 will be MM ... you can then use these variables to build mm/dd/yyyy.
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california


Return to Variables and Regular Expressions

Who is online

Users browsing this forum: No registered users and 2 guests

cron