hanhphuc 发表于 2022-7-5 21:09:52

 
pBe
 
actually Tharwat applied decrease , (1- n)
ie: (1- 12) =11 th
but it also looks like (1 - 12), OP maybe confused if not coloured tag

pBe 发表于 2022-7-5 21:11:22

 
Oh i see, its must be my eyes..
 
Thank you for clarifying hanhphuc.kudos to Tharwat
 
Personally i prefer an association list to avoid confusion such as the one above.

Tharwat 发表于 2022-7-5 21:16:24

Thank you hanhphuc for the clarifications , appreciated alot
 
 
Thank you pBe

hmsilva 发表于 2022-7-5 21:19:50

Hi guitarguy1685,
a different approach, not using 'CDATE' but also getting the date format as your exemple '23DEC13'

(menucmd "m=$(edtime,0,ddmonyy)");; returns "28Dec14";; if uppercase is required(strcase(menucmd "m=$(edtime,0,ddmonyy)"));; returns "28DEC14"
I hope this helps
Henrique

Lee Mac 发表于 2022-7-5 21:22:24

 
This is the method I would have suggested
 
Nice one Henrique

hmsilva 发表于 2022-7-5 21:28:47

 
 
Thank you, Lee
 
Cheers
Henrique
页: 1 [2]
查看完整版本: Date format (i.e. 23DEC14)