?
Solved

From the time in milliseconds since 1/1/70 to 03/04/2003

Posted on 2003-03-25
3
Medium Priority
?
264 Views
Last Modified: 2010-04-15
Hello I have a CString with a date in milliseconds(or what i think is milliseconds) since 1/1/70
and I want to convert it to different CString in this format DD/MM/YYYY

milliseconds date: 1038873600000

thx
0
Comment
Question by:funvill
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Accepted Solution

by:
GaryFx earned 80 total points
ID: 8206485
Use ctime, or if using MFC, the CTime class.  The latter might be something like CTime(timeInSeconds).Format(_T("%d/%m/%y"))

Gary
0
 
LVL 6

Expert Comment

by:gj62
ID: 8206626
And this is C++, if I'm not mistaken...
0
 
LVL 2

Author Comment

by:funvill
ID: 8206657
oops i posted this in the wrong section
thx
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question