How to Change the Date Format and Timezone in Save Gmail

H
Published in: Download Gmail to Google Drive

The Save Emails add-on downloads emails from Gmail to your Google Drive and it adds the original timestamp to the saved files so you can recognize when an email was sent or received by looking  at the content of the downloaded email message.

It gets the original timestamp of an email message from Gmail and formats it in your default timezone. The timezone is calculated from the Google Spreadsheet and you can easily change it through the following steps.

Change the Default Email Time zone

change-timezone-spreadsheet.png

Go to File > Spreadsheet Settings > Time zone and choose a different timezone from the drop down. Save your settings. The new timezone will be applied to all emails that are download from now onwards.

Change the Default Date Format

The add-on offers a dynamic variable called {{Date}} the outputs the date and time of an email message in your preferred format. The variable {{Date}} can be used while creating Google Drive folders and also for renaming emails and attachments.

change-date-format.png

To change the date format, create a new rule, or edit and existing rule, and put the format in the “Date Format” field. Here are some samples:

Date FormatSample Output
yyyy-MM-dd hh:mm a2017-04-07 06:30 PM
yyyy/MM/dd2017/04/07
EEE, d MMM yyyyWed, 4 Jul 2017
yyyy/MM/dd HH:mm:ss2017/04/07 12:08:56

Please check the date time formats documentation for more examples.

📮  Subscribe to our Email Newsletter for Google tips and tutorials!
Published in: Download Gmail to Google Drive

Looking for something? Find here!

Meet the Author

Web Geek, Google Developer Expert
A
Amit Agarwal

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India. He is the developer of Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

Get in touch

Google Add-ons

Do more with your Gmail and GSuite account
G

We build bespoke solutions that use the capabilities and the features of Google Workspace for automating business processes and driving work productivity.

  1. Mail Merge with Attachments
    Send personalized email to your Google Contact with a Google Sheet and Gmail
  2. Save Emails and Attachments
    Download email messages and file attachments from Gmail to your Google Drive
  3. Google Forms Email Notifications
    Send email notifications to multiple people when a new Google Form is submitted
  4. Document Studio
    Create beautiful pixel perfect documents merging data from Google Sheets and Google Forms
  5. Creator Studio for Google Slides
    Turn your Google Slides presentations into animated GIFs and videos for uploading to YouTube