Google Drive Trick – Google Spreadsheet Formatting Dates to String

I have been using google drive and google spreadsheet for a while. I work with experts around the world and we all use different date format. The biggest confusion which often happens when we are sharing data is a timestamp. For some people it is natural to have dates time like dd/mm/yyyy and for some it is natural to have mm/dd/yyyy. Sometimes we are just confused looking at the date as there is no instruction about the format. Finally, we all decided that we will spell out the dates. For example, if we have date like 11/9/2014 to avoid confusion if it is November 9, 2014 or September 11, 2014 we decided to just write it in the string.

Now here is the problem with Google Spreadsheet – when I type any datetime, like as following, it will immediately convert them to mm/dd/yyyy format and defeat our purpose of spelling that out.

Google Drive Trick - Google Spreadsheet Formatting Dates to String googlespreadsheet1

Finally, we figured out the solution how we can preserve the datetime as a string in Google Spreadsheet. Just start your datetime with a single quotes. For example now we enter datetime as follows:

‘September 9, 2014 instead of September 9, 2014. The best part is that, the single quotes are not visible on the screen.

Google Drive Trick - Google Spreadsheet Formatting Dates to String googlespreadsheet2

Well, if there was any other way to do this and I was not aware of it, please let me know.

Reference: Pinal Dave (https://darkslategrey-bat-805937.hostingersite.com)

MySQL, Software Development
Previous Post
SQL SERVER – Flushing Transaction Log to Disk for Current Database
Next Post
SQL SERVER – Beginning In-Memory OLTP with Sample Example

Related Posts

Leave a Reply