Get outlook Mail Message Date with Time Filter

Hello creator ,

Here is the solution for filter email messages with date and time.

outlook 24 HRS = HH

“[ReceivedTime]>='” +D_Date_Time.ToString(“dd-MM-yyyy HH:mm”)+“'”

outlook - 12 HRS = hh

“[ReceivedTime]>='” +D_Date_Time.ToString(“dd-MM-yyyy hh:mm”)+“'”


Regards,
Srenivasan Kannan

7 Likes

Hi @SrenivasanKanna

I want to know how we can justify saying 24 hr format is HH and 12 hr format is hh

a small example

Thanks
Ashwin S

@Aswini22

You can set your outlook timezone as per your wish.

To change the time zone, perform the following:

  1. Click the File tab.
  2. Click Options.
  3. Click Calendar.
  4. Under Time Zones , type a name for the current time zone in the Label box.
  5. In the Time zone list, click the time zone that you want to use.

Regards,
Srenivasan Kannan

1 Like

That’s part of the .Net specification for formatting DateTime objects.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.