Exforsys

Online Training

logic for day of date entered??

This is a discussion on logic for day of date entered?? within the C and C++ forums, part of the Programming Talk category; May i know the logic how to find day of day entered??...


Go Back   Exforsys > Programming Talk > C and C++

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-23-2007, 07:02 AM
Junior Member
 
Join Date: Jan 2007
Posts: 1
annievgupta is on a distinguished road
Question logic for day of date entered??

May i know the logic how to find day of day entered??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-25-2007, 01:09 PM
Member
 
Join Date: May 2006
Posts: 38
zsk_00 is on a distinguished road
take a look at SYSTEMTIME stucture in stdio.h.

SYSTEMTIME stime;
GetSystemTime(&stime);
printf("Day:%d\n" , stime.wDay );
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Date Validation using SimpleDateFormat() insane Java Tutorials 0 05-05-2006 01:20 PM
Robot Competition FAQ for June 2004 R. Steven Rainwater Tech FAQ 0 05-27-2004 09:59 PM
[FAQ] FileMaker Pro - database for Macintosh and Windows Martin Trautmann Tech FAQ 0 04-17-2004 08:26 AM
comp.constraints FAQ (Part 1 of 1) pse@cs.unh.edu Tech FAQ 0 04-17-2004 08:23 AM
comp.os.msdos.programmer FAQ part 1/5 Jeffrey Carlyle Tech FAQ 1 04-09-2004 08:57 AM


All times are GMT -4. The time now is 12:23 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.