Usually a date in such columns as CreateDate and UpdateDate and also #CurrentDate# reference is in technical format that is inconvenient for app's interface.
As an example, the #[email protected]# reference will show in app's UI as:
This is how this date is pulled from #[email protected]# hashtag.
HOWEVER, for the UI you can only want to have a part of this date, for example:
To achieve this transformation you can use a transformation MASK for the date's hashtag "@formatDate(X,Y)", where "X" is how it should loo, and "Y" is how it does look:
As an example, you can add this MASK to transform date from image 1 to image 2:
#[email protected]@formatDate(MM/dd/yyyy,yyyy-MM-dd HH:mm:ss.SSSSSS)#
No spaces between expressions and commas please!
- Standard notation is used for denoting parts of date (yyyy, dd, etc)
- The Mobsted standard date format for all of its automatic system fields in objects, events etc is always yyyy-MM-dd HH:mm:ss.SSSSSS
- You can use this mask function for any other date transformation, not only from platform's fields but also any other fields, including TEXT, however please make sure that the format of your custom recorded date can be described in a standard notation of point 1 above.
As always, let us know if you need any other date transformation - [email protected]