Question
· Mar 30, 2022

How do I return YYYYMMDDHHMM

Hi, I’m using $ZDATETIME to return the following

  • USER>w $ZDATETIME($zdth($zstrip("2022-03-29T15:10:00+0100","<>W"), 3,5),3)
  • Output: 2022-03-29 15:10:00

I would like to return just the YYYYMMDDHHMM i.e. stripping out the seconds.

 Does $ZDATETIME have an option for this?

Product version: IRIS 2022.1
Discussion (4)0
Log in or sign up to continue