Received as just date

Status
Not open for further replies.
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)

-

"Richard G" <RichardG> wrote in message

news:D4839604-626E-48F5-84A6-9DD87CEB2D6D@microsoft.com...
> 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
 
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

"Dmitry Streblechenko" wrote:


> 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)
>

>

>

> -
> "Richard G" <RichardG> wrote in message
> news:D4839604-626E-48F5-84A6-9DD87CEB2D6D@microsoft.com...
> > 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


>
 
R

Richard G

I've just manged to find out that Outlook 2003 allows this as a user

adjustment See her

http://msdn.microsoft.com/en-us/library/aa203899(office.11,printer).aspx

Richard

"Richard G" wrote:


> 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

> "Dmitry Streblechenko" wrote:
>
> > 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)
> >

> >

> >

> > -
> > "Richard G" <RichardG> wrote in message
> > news:D4839604-626E-48F5-84A6-9DD87CEB2D6D@microsoft.com...
> > > 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

You can *format* field as a date, but the underlying value would still have

thee time portion.

Dmitry Streblechenko (MVP)

-

"Richard G" <RichardG> wrote in message

news:868CF4F3-0393-489E-9496-D095FA9B03F2@microsoft.com...
> I've just manged to find out that Outlook 2003 allows this as a user
> adjustment See her
> http://msdn.microsoft.com/en-us/library/aa203899(office.11,printer).aspx

> Richard

> "Richard G" wrote:
>
> > 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
>

>> "Dmitry Streblechenko" wrote:
> >
> > > 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)
> > >

> > >

> > >

> > > -
> > > "Richard G" <RichardG> wrote in message
> > > news:D4839604-626E-48F5-84A6-9DD87CEB2D6D@microsoft.com...
> > > > 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
> >>> >
 
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

"Dmitry Streblechenko" wrote:


> You can *format* field as a date, but the underlying value would still have
> thee time portion.
> > Dmitry Streblechenko (MVP)
>

>

>

> -
> "Richard G" <RichardG> wrote in message
> news:868CF4F3-0393-489E-9496-D095FA9B03F2@microsoft.com...
> > I've just manged to find out that Outlook 2003 allows this as a user
> > adjustment See her
> > http://msdn.microsoft.com/en-us/library/aa203899(office.11,printer).aspx
> > Richard
> > "Richard G" wrote:
> >
> >> 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
> >
> >> "Dmitry Streblechenko" wrote:
> >
> >> > 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)
> >> >

> >> >

> >> >

> >> > -
> >> > "Richard G" <RichardG> wrote in message
> >> > news:D4839604-626E-48F5-84A6-9DD87CEB2D6D@microsoft.com...
> >> > > 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

I am not sure what you mean...

Dmitry Streblechenko (MVP)

-

"Richard G" <RichardG> wrote in message

news:254BA41B-A054-4076-96C3-AED966ADCAB5@microsoft.com...
> when i used a fied with just date in it I got nothing so I've got a little
> more work to do

> "Dmitry Streblechenko" wrote:
>
> > You can *format* field as a date, but the underlying value would still
> > have
> > thee time portion.
> > > > Dmitry Streblechenko (MVP)
> >

> >

> >

> > -
> > "Richard G" <RichardG> wrote in message
> > news:868CF4F3-0393-489E-9496-D095FA9B03F2@microsoft.com...
> > > I've just manged to find out that Outlook 2003 allows this as a user
> > > adjustment See her
> > > http://msdn.microsoft.com/en-us/library/aa203899(office.11,printer).aspx
> >> > Richard
> >> > "Richard G" wrote:
> >> >> 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
> > >
>> >> "Dmitry Streblechenko" wrote:
> > >
>> >> > 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)
> > >> >

> > >> >

> > >> >

> > >> > -
> > >> > "Richard G" <RichardG> wrote in message
> > >> > news:D4839604-626E-48F5-84A6-9DD87CEB2D6D@microsoft.com...
> > >> > > 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
> > >>> >>> >> >

>

>
>>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
U How can the Received date be edited? Using Outlook 0
W Save and rename outlook email attachments to include domain name & date received Outlook VBA and Custom Forms 4
M Outlook VBA Macro that could retrieve/display the (From, Subject, Date Received) Outlook VBA and Custom Forms 2
A Received Date None after reading Using Outlook 2
M Received date empty Outlook VBA and Custom Forms 5
S Outlook 365 Help me create a Macro to make some received emails into tasks? Outlook VBA and Custom Forms 0
S How to find emails that I sent that have not received a reply? Using Outlook 7
D Create new email from the received Email Body with attachment Outlook VBA and Custom Forms 10
N Please advise code received new mail Using Outlook 0
S Outlook Macro to send auto acknowledge mail only to new mails received to a specific shared inbox Outlook VBA and Custom Forms 0
E Conditional formatting - when current account <> received account ? Using Outlook 3
C Add Form to Appointments Received, Automatically Outlook VBA and Custom Forms 6
A VBA macro for 15 second loop in send and received just for 1 specific mailbox Outlook VBA and Custom Forms 1
B One email cannot be sent or received (but leaves outbox!) Using Outlook 1
K Conditional Formatting based on Department of person received from? Outlook VBA and Custom Forms 4
mctabish Replying to an email if received in several inboxes Outlook VBA and Custom Forms 2
A Multiple Outlook Invites Received by One Person Using Outlook 4
dyny723 Outlook 2016: Code to link a contact to emails received from that contact Outlook VBA and Custom Forms 1
S Custom user fields in received messages Outlook VBA and Custom Forms 1
S Received mail as part of DL, need to auto-CC the same when replying Outlook VBA and Custom Forms 5
I Forwarding attachments in email received Outlook VBA and Custom Forms 3
T Received many email without information Using Outlook 1
C Auto save outlook attachments when email is received Outlook VBA and Custom Forms 1
Bob Franklin Emails Not Received in my Outlook account Using Outlook 1
D Help with code to move mail on receipt to another folder based on time received Outlook VBA and Custom Forms 2
P How to make outlook display alert appear on top of other windows whenever a new email is received? Outlook VBA and Custom Forms 1
C Save Subject of Received Email as a String Outlook VBA and Custom Forms 1
H send reminder if no reply received on first or original email using macro Using Outlook 2
D Outlook 2007 e-mail header- How to set font & font size in received message headers ? Using Outlook 2
T Automatically open link in email received Outlook VBA and Custom Forms 33
N Auto-forwarding an Email received from a specific Email address After slight modifications Using Outlook 4
J Changing margins in received email display Using Outlook 3
S Updating the database based on received task Outlook VBA and Custom Forms 3
M Outlook mail to agile from specific folders as the mail is received Using Outlook 3
M How do I mark emails already received as read when I get a second, different email based on subject? Outlook VBA and Custom Forms 3
D Messages received from only one sender arrive with dark gray text background Using Outlook 1
Hudas Run Macro when an Email is received Using Outlook 4
Y All emails are received with delay on outlook 2010 Using Outlook 5
D See Email Address Received Email was Sent To? Using Outlook 1
E Saving Changes To Edited E-Mail Received Message Using Outlook 0
J Automatically Print PDF When They Are Received Using Outlook 4
C Exchange 2010 / Emails received show with display name and not email address Using Outlook 2
Z Trigger macro to run after a new mail is received in Outlook? Using Outlook 3
D show my alias in my received messages Using Outlook 1
K Save a received email in a mailbox subfolder which is the same as the @email Using Outlook 1
A automatically remove flag from original message when a response was received Using Outlook 2
L Shared calendar appointments received as emails, stays in inbox! Using Outlook 1
K received bcc as encrypted Using Outlook 12
H Automatic excel data added to Certain Emails that are received Using Outlook 3
S OL 2010 shortcut to edit received mail Using Outlook 3

Similar threads

Top