General information
Category:
Coding, syntax & commands
Probably faster (not that it would matter here):
SET CENTURY TO INT(YEAR(DATE())/100)
Vlad
>Actually, it just occurred to me what you're trying to do: SET CENTURY to the century of the current date. Try this:
>
>SET CENT TO VAL(LEFT(ALLT(STR(YEAR(DATE()))), 2))
>
>-Works great for me!
>Mark
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