|
-
July 18th, 2010, 09:48 PM
#1
ColeDateTime::GetCurrentDate, ::RemoveHrMinSec??? Need such functions
Hi Everybody,
I'm working with COleDateTime Class and I need to do two things:
1) Get the current date only, with out any Hrs, Min, Sec Value,
2) Clear the Hrs, Min, Sec of an existing COleDateTime Value.
Does anyone know how to do that?
At the time I had to write my own DDX function to strip the hrs, min, sec. I could write a function, but I'm surprised that Microsoft doesn't supply such member functions. ... Maybe there is something I'm missing or an operator out there that I don't know about.
Any suggestions?
Rate this post if it helped you.
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
|