Skip to main content

Function DatePart('q', Date()) work wrong for this year 2021

Comments

1 comment

  • Blake

    I'm getting the correct results =DatePart('q', Date()) brings back 2 for today (June).  =DatePart('q', '2021-02-18') brings back 1.  Just to verify the obvious is your system clock correct on the machine you are executing this?

    0

Please sign in to leave a comment.