C Language Development Kit/Snippets/Miscellaneous

From OptiWiki

< C Language Development Kit | Snippets
Revision as of 08:33, 9 October 2009 by Jbo (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This section contains general functions, which are quite often used in applications, like the calculation of the current day of the week. In the future more functions will be added to this section.

Sources of all string functions

To be able to use the miscellaneous functions, include the following header file and source file in your project.

Header file misc.h (source)
Source file misc.c (source)

General function(s)

  • WhatDayOfWeek() Return an integer value representing the current day of the week.
  • GetWeekNumber() Return a short integer value representing the current week number of todays date.
Personal tools