CodeBase - Calculate Day of the Week

Return to the CodeBase listing

Category: Text

Version: 1.0

1
0

Information

Uploaded: 26th Jan 2015 23:55

Modified: 31st Jan 2015 17:04

Author:  Mdj

Summary

This programs accepts a date and returns the day of the week for that date.

Full Description

This programs accepts a date and returns the day of the week for that date.<br /> <br /> Please let me know how this program could be improved. I originally had CASE statements for some of the conditions but changed to IF/THEN. <br /> <br /> You'd think the process is simple right? Without using an anchor date? Show me some code that doesn't use a known anchor point and that is simpler than this method. In the code is a link showing where I got the information to implement Kraitchik's version of previous work by Gauss.

Comments

No comments yet.