| Title |
Title
Technique to Calculate Day of Week
|
|---|---|
| Name |
Name
TB028
|
| Date |
Date
06/24/2015
|
| Product Categories |
Product Categories
8-bit MCU
|
| Description |
Description
Basically, there are two kinds of electronic systems that come with a built-in calendar. The first kind of system is used mainly to display a calendar for a user's conve-nience. Examples of these systems are digital watches, computers, VCRs and TVs with on-screen display features. The second kind of system is required to know whether a given date is a weekend or weekday. Examples of such a system are multi-rate meters (such as a phone bill meter) and electronic pricing sys-tems, where the weekend rate and the weekday rate are different. In order to build an electronic calendar into the system, the designer needs to write a piece of software that will be able to determine the day (Sunday, Monday, ?.Saturday) of the week when a date is input into the system. This routine is the basic component of an electronics calendar. This Technical Brief provides a technique to find the exact day for a given date input.
|
Live Chat