How to Change the Date Format and Timezone in Save Gmail

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.

Amit Agarwal

Amit Agarwal

Google Developer Expert, Google Cloud Champion

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.

Amit has developed several popular Google add-ons including Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

0

Awards & Titles

Digital Inspiration has won several awards since it's launch in 2004.

Google Developer Expert

Google Developer Expert

Google awarded us the Google Developer Expert award recogizing our work in Google Workspace.

ProductHunt Golden Kitty

ProductHunt Golden Kitty

Our Gmail tool won the Lifehack of the Year award at ProductHunt Golden Kitty Awards in 2017.

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional (MVP) title for 5 years in a row.

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator title recognizing our technical skill and expertise.

Email Newsletter

Sign up for our email newsletter to stay up to date.

We will never send any spam emails. Promise.