Does the GT.M $zdate function support single digit day and month display in date, like 1/1/2012?
$zdate() does not have such an option. But, it's pretty easy to do what you want. For example:
GTM>write $zdate($horolog) 06/25/12 GTM>set tmp=$zdate($horolog) write +$piece(tmp,"/",1),"/",+$piece(tmp,"/",2),"/",+$piece(tmp,"/",3) 6/25/12 GTM>
Regards - Bhaskar
Log in to post a comment.
Does the GT.M $zdate function support single digit day and month display in date, like 1/1/2012?
$zdate() does not have such an option. But, it's pretty easy to do what you want. For example:
Regards
- Bhaskar