GIDForums  

Go Back   GIDForums > Computer Programming Forums > C Programming Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 07-Jun-2005, 02:59
Vishy80 Vishy80 is offline
New Member
 
Join Date: Jun 2005
Posts: 3
Vishy80 is on a distinguished road

Current Date (Short Date) In C


Does Anybody Know How I Could Get Current Date (Short Date) In C Programming Language
Last edited by LuciWiz : 07-Jun-2005 at 03:02. Reason: Shortened title...
  #2  
Old 07-Jun-2005, 05:41
Kjeksen Kjeksen is offline
Junior Member
 
Join Date: May 2005
Posts: 57
Kjeksen is on a distinguished road
I think this will work. Maybe im wrong.

Code:
#include <iostream.h> #include <time.h> int main() { char time[9]; _strdate( time ); //and so on }
  #3  
Old 07-Jun-2005, 13:54
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,243
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all
Quote:
Originally Posted by Vishy80
Does Anybody Know How I Could Get Current Date (Short Date) In C Programming Language
Look at the function strftime().
__________________

Age is unimportant -- except in cheese
 
 

Recent GIDBlogObservations of Iraq by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Favorite programming language? crystalattice C++ Forum 34 06-Dec-2005 18:23
Linked Lists DCOM C Programming Language 4 27-Mar-2005 00:00
which language ? onauc C++ Forum 2 19-Nov-2004 02:53
OZ programming language runner MySQL / PHP Forum 0 25-Aug-2004 02:49

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 13:45.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.