![]() |
|
#1
|
|||
|
|||
Convert my 64 bit Windows time stamphi I am trying to convert my 64 bit windows time stamp so that the date and time can be viewed by the user. I have the following code but it gives me a jumbled up date, not the one i was expecting, can anyone see a reason for this?
CPP / C++ / C Code:
thankyou Last edited by admin : 01-Jul-2008 at 11:56.
Reason: Please insert your example C/C++ codes between [CPP] and [/CPP] tags
|
|||
|
#2
|
|||
|
|||
Re: Convert my 64 bit Windows time stampQuote:
I hate to ask silly questions, but: 1. What, exactly were you expecting (and what exactly did you get)? 2. What are the contents of your "createdTime" array? 3. Did you get the values for createtTIme from GetFileTime() or what? (And if you got values from GetFileTime(), why did you copy them into an array of chars?) Try the following command-line program: CPP / C++ / C Code:
Output on my Windows XP system with a particular file in a particular directory: Code:
Regards, Dave Last edited by davekw7x : 01-Jul-2008 at 14:11.
|
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| constructors/classes | mapes479 | C++ Forum | 3 | 19-Nov-2006 18:34 |
| real quick crash question | kangol848 | Computer Software Forum - Windows | 1 | 02-Aug-2006 01:53 |
| a quick question | ap6118 | C++ Forum | 5 | 30-Jan-2006 22:54 |
| Question over Time program | SergeDrago | C++ Forum | 3 | 15-Nov-2005 16:46 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The