General information
Category:
Coding, syntax & commands
>David,
>
>This is SET DATE independent:
>
>function IsLeap( pnYear )
>return ctod( "^" + str( pnYear, 4 ) + "/2/29" ) != {}
>
Well done. That surely is the most elegant correct answer.
Thanks.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only