Getting the day of the week?

You can always implement a BP function to calculate it. This is my implementation of the Tomohiko Sakamoto algorithm:

Function:

Usage:

The day of the week will be from 0 to 6, with 0 as Sunday, 1 as Monday and so on.

2 Likes