Hello,
We would need some help, please;
We would like to handle when we have a date with hours:
20201204090000
And when we have it without the hours part, as follows:
20201204
For the first case we used:
##class(Ens.Util.Time).ConvertDateTime(source.{ORCgrp(1).RXA:DateTimeStartofAdministratio},"%Y%m%d%H%M%S","%d/%m/%Y",,.tSC)
For the second one we wrote:
##class(Ens.Util.Time).ConvertDateTime(source.{ORCgrp(1).RXA:DateTimeStartofAdministratio},"%Y%m%d","%d/%m/%Y",,.tSC)