Convert numeric file mod date to DD/MM/YY at hh:mm

I am obtaining a file’s modification date (in numeric form) from this KM action:


I want to display something like this:

filename.txt has mod date of 28/10/2018 at 20:18

How do I convert the number that KM gives me to this (or similar) date/time format? Thanks.

Use the ICUDateTimeFor token, it will let you specify the exact format of the date and time, and take the time from a parameter (in this case, the nn_mod_date variable).

1 Like