convert dd/mm/yyyy --> yyyymmdd
I need to convert dd/mm/yyyy --> yyyymmdd
example
Input = 25/03/1988
expected Output = 19880325
Discussion (0)0
Comments
You can use two conversions:
$zdate($zdateh("25/03/1988", 4), 8).png)
ConvertDateTime works well...
when you call it within a DTL you can specify the incoming and outgoing formats like ..."%d/%m/%Y", "%Y%m%d"
USER>w $tr("CcYyMmDd","Dd/Mm/CcYy","25/03/1988")
19880325
💡 This question is considered a Key Question. More details here.