Date comparision

alien251alien251 Member Posts: 80
I want to use a boolean expression to compare the posting date with the current date. What would be the best way to do that? I know 0D means undefined date, is there a similar expression for todays date in C/AL?

Thanks,

Dan


I figured it out, TODAY... SURPRISE!!

Answers

  • krikikriki Member, Moderator Posts: 9,110
    TODAY is the systemdate.

    There are also the following:
    -WORKDATE : is the workdate that the user uses (Tools=>workdate)
    -TIME : current time
    -CURRENTDATETIME : current date-time.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.