Advertisement
Guest User

Untitled

a guest
Dec 15th, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. ConvertTo24hr (7)
  2. A1: Variable Search Replace [ Variable:%par1 Search:\d+|[AP]M Ignore Case:Off Multi-Line:Off One Match Only:Off Store Matches In:%time Replace Matches:Off Replace With: ]
  3. A2: If [ %time(3) ~ PM & %time(1) neq 12 ]
  4. A3: Variable Set [ Name:%time(1) To:%time(1) + 12 Do Maths:On Append:Off ]
  5. A4: End If
  6. A5: Return [ Value:%time1.%time2 Stop:On ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement