Answer : Use built-in functions to obtain dates and format strings. Date retrieval. -(dash) to split hour and minute. { “NamePrefix.$”: “States.Format(‘{}-{}-{}_{}’, ‘app’, $.Service, $.Env, ‘{}’)”, “DateTSplited.$”: “States.StringSplit($$.Execution.StartTime, ‘T’)” } { "NamePrefix.$": "$.GetTimeAndDate.NamePrefix", "DateHyphenSplited.$": "States.StringSplit($.GetTimeAndDate.DateTSplited[0], '-')" }