M Michael Bauer Senior Member Outlook version Outlook 2010 32 bit Email Account Exchange Server Dec 4, 2014 #21 The Format function will do the trick: Code: format(date,"yyyy/mm/dd")
Diane Poremsky Senior Member OS Version(s) MacOSWindowsiOSAndroid Outlook version Outlook 2016 32 bit Email Account Office 365 Exchange Dec 4, 2014 #22 For the received date, you need to use aItem.receivedtime - plain old Date = today.
T TremblayT New Member Outlook version Outlook 2013 64 bit Email Account Exchange Server Dec 4, 2014 #23 Thanks alot. How could I format the date with YYYY/MM/DD and not insert the hours? Thanks,
Diane Poremsky Senior Member OS Version(s) MacOSWindowsiOSAndroid Outlook version Outlook 2016 32 bit Email Account Office 365 Exchange Dec 4, 2014 #24 try this: format(aItem.receivedtime,"yyyy/mm/dd")
T TremblayT New Member Outlook version Outlook 2013 64 bit Email Account Exchange Server Dec 4, 2014 #25 Thanks, That works perfectly.