Week day to number

How can I convert the day of week to number?
Example-
Now().DayOfWeek() should return 1 instead of Monday

1 Like

Hi,

Can you try the following?

CInt(Now.DayOfWeek)

Regards,

2 Likes

:+1:t2: :+1:t2: :+1:t2:

Thanks!! It worked