This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Day Number


Hi,
How does one get the day number e.g. Sunday = 0, Monday = 1 etc ?
I want to test the day number against a variable e.g.
if ( dayNumber == DaynumberVar )
  do x,y,z

Thanks

---------------------------------------
This message was sent using Postaci Webmail. (http://www.trlinux.com)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]