
I mess with dates. In fact, I do a test on them to tell if A is greater than B, then do it otherwise do that and so on.
That's what I currently write code like:
Code: Select all
# pMonth and pYear are my input parameters
vYM = '01-' | pMonth |'-' | pYear
vNewDate = DAYNO(vYM)
# vPastDate is an other date as same format as vNewdate
If(vNewdate > vPastDate);
# do that
ENdIf;
Thanks a lot for your help
