-
Notifications
You must be signed in to change notification settings - Fork 36
DateTimeFormat Function
Eugene Sergeev edited this page Oct 15, 2016
·
8 revisions
string DateTimeFormat(date:datetime, format:string)
Formats the value of the first DateTime parameter in the format specified in the second string parameter.
If the second input parameter (format string) is null, an exception is thrown. If the first input parameter (date) is null, a null value is returned.
1.0.0.0 and later
DateTimeFormat(DateTimeNow(),"dd/MM/YYYY HH:mm:ss.ffff")
or if you want just a date in a normal format: DateTimeFormat([//Target/EmployeeEndDate],"yyyy-MM-dd")
- you can store it in //WorkflowData
and later use it inside a notification template.
- MIMWAL Site - http://aka.ms/MIMWAL
- MIMWAL Releases - http://aka.ms/MIMWAL/Releases
- MIMWAL Documentation Wiki - http://aka.ms/MIMWAL/Wiki
- MIMWAL FAQ - http://aka.ms/mimwal/faq
- MIMWAL GitHub Code Repo - http://aka.ms/MIMWAL/Repo
- MIMWAL TechNet Q&A Forum (now read-only) - http://aka.ms/MIMWAL/Forum