C Language Development Kit/Snippets/Miscellaneous/misc.h

From OptiWiki

Jump to: navigation, search
//
// misc.h
//
// Miscellaneous functions from the snippets section in the C-library kit
//
// Martin Jansen
//
 
#ifndef __MISC_H__
#define __MISC_H__
 
//
// Returns the current day of the week
// 0 = Sunday 
// 1 = Monday 
// 2 = Tuesday 
// 3 = Wednesday 
// 4 = Thursday 
// 5 = Friday 
// 6 = Saterday 
//
int WhatDayOfWeek( void ); 
 
//
// Returns the current week number
//
short GetWeekNumber( void ); 
 
#endif // __MISC_H__
Views
Personal tools