|
-
May 18th, 1999, 02:26 AM
#1
Date operations
Is there any data type/ class on visual c++ like date. I could find CTime which i think is a timestamp. I want to use arithmatic operations, comparisions on date. How to use manipulations on date datatype.
Whenever I hear "It can't be done", I know, I am close to success!! 
-
May 18th, 1999, 03:19 AM
#2
Re: Date operations
from the docs:
"A CTime object represents an absolute time and date. "
you can do all types of arithmetic operations with two CTime objects. The Result is a CTimeSpan object.
check out the operators that are defined for the CTime class.
-
May 18th, 1999, 09:19 AM
#3
Re: Date operations
You could use COleDateTime.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|