Received as just date

R

Richard G

I'm led to believe that it should be possible to create a field (similar to
received) that has just the date and not the time. I presume it is just a
case of changing the date format somewhere but my VBA has got very
rusty.Could somebody give me a big hint please?

Many thanks
Richard
 
D

Dmitry Streblechenko

No. On the low level, Outlook only uses PT_SYSTIME properties, which store
both date and time.
Nothing however prevents your from storing only date (no time) in your very
own custom field. But it will be your responsibility to ensure that the time
portion is stripped off when you set the value.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
R

Richard G

Dmitry
Thanks for the reply. It was the starting point for creating the custom
field that I was hoping for a little help with

Richard
 
D

Dmitry Streblechenko

You can *format* field as a date, but the underlying value would still have
thee time portion.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
R

Richard G

when i used a fied with just date in it I got nothing so I've got a little
more work to do
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top