C Language Development Kit/Snippets/Miscellaneous

From OptiWiki

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.
Views
Personal tools