Rather than manually inserting times and dates into a Google Sheets spreadsheet, you can use the NOW and TODAY functions. These functions show the current time or date, updating as your spreadsheet changes or on a regular basis.

您可以使用NOW和TODAY功能,而不是手动将时间和日期插入Google表格电子表格。 这些功能显示当前时间或日期,随着电子表格的更改或定期更新。

While the NOW and TODAY functions regularly update, you can quickly insert a non-updating time or date stamp using keyboard shortcuts.

现在和今天功能会定期更新时,您可以使用键盘快捷键快速插入不更新的时间或日期戳。

使用NOW添加当前时间和日期 (Adding the Current Time and Date Using NOW)

Adding the current time and date in a Google Sheets spreadsheet using the NOW function is almost too simple. The NOW function requires no extra arguments, but you’ll need to format any cells using NOW only to show the time.

使用NOW功能在Google表格电子表格中添加当前时间和日期几乎太简单了。 NOW函数不需要额外的参数,但是您只需要使用NOW格式化任何单元格即可显示时间。

To start, open your Google Sheets spreadsheet or create a new one, click on an empty cell, and type =NOW().

首先,打开您的Google表格电子表格或创建一个新的电子表格,单击一个空单元格,然后输入=NOW()

Once inserted, your Google Sheets spreadsheet should default to using standard formatting for NOW formulae that displays a timestamp with both the current time and date.

插入后,您的Google表格电子表格应默认为NOW公式使用标准格式,该格式同时显示带有当前时间和日期的时间戳。

Google Sheets will also default to using the date and time formatting appropriate for your locale, which you can change in your Google Sheets settings by clicking File > Spreadsheet Settings. The above example uses UK date formatting (DD/MM/YY).

Google表格还会默认使用适合您的语言环境的日期和时间格式,您可以通过单击文件>电子表格设置在Google表格设置中进行更改。 上面的示例使用英国日期格式(DD / MM / YY)。

Usually, the timestamp generated by a formula using the NOW function will update only when your spreadsheet changes. You can change your spreadsheet settings to update every minute or every hour additionally.

通常,仅当电子表格更改时,使用NOW函数由公式生成的时间戳才会更新。 您可以更改电子表格设置,使其每分钟或每小时额外更新一次。

To do this, enter your Google Sheets settings (File > Spreadsheet Settings), click on the “Calculation” tab, and then select the update frequency from the “Recalculation” drop-down menu.

为此,请输入您的Google表格设置(文件>电子表格设置),单击“计算”标签,然后从“重新计算”下拉菜单中选择更新频率。

使用TODAY函数查找日期 (Finding the Date Using the TODAY Function)

If you want to display the current date only, you can use the TODAY function as an alternative to NOW. Formulae using the TODAY function typically display dates in the DD/MM/YY or MM/DD/YY format, depending on your locale.

如果只想显示当前日期,则可以使用TODAY函数代替NOW。 使用TODAY函数的公式通常以DD / MM / YY或MM / DD / YY格式显示日期,具体取决于您的语言环境。

Like NOW, the TODAY function has no arguments. Click on an empty cell and type =TODAY()to insert the current date.

与NOW一样,TODAY函数也没有参数。 单击一个空单元格,然后键入=TODAY()以插入当前日期。

Cells with a TODAY formula will update each day. You can change the formatting to use text or numbers if you’d prefer.

具有TODAY公式的单元格每天都会更新。 如果愿意,可以更改格式以使用文本或数字。

格式化您现在或今天的公式 (Formatting Your NOW or TODAY Formula)

As we’ve shown, the NOW function usually defaults to showing a timestamp that displays both the time and date.

正如我们所展示的,NOW函数通常默认为显示同时显示时间和日期的时间戳。

If you wanted to change this, you’d need to change the formatting for any cells using the NOW function. You can also change the format of any formula using the TODAY function in the same way.

如果要更改此设置,则需要使用NOW函数更改任何单元格的格式。 您也可以使用TODAY函数以相同的方式更改任何公式的格式。

To display the current date only, select your cell (or cells) and click Format > Number > Date. To display the current time without the date, click Format > Number > Time instead.

要仅显示当前日期,请选择一个或多个单元格,然后单击格式>数字>日期。 要显示不带日期的当前时间,请改为单击格式>数字>时间。

You can customize your date or time formatting further by clicking Format > Number > More Formats > More Date and Time Formats.

您可以通过单击格式>数字>更多格式>更多日期和时间格式来进一步自定义日期或时间格式。

From here, you can customize the date and time formatting to use text, number, or additional characters like a forward slash.

在这里,您可以自定义日期和时间格式以使用文本,数字或其他字符(例如正斜杠)。

This can be applied to both NOW and TODAY formulae.

这可以同时应用于NOW和TODAY公式。

With custom formatting applied, formulae using the NOW function can be used to display the current time or date in your Google Sheets spreadsheet in various formats.

应用自定义格式后,使用NOW函数的公式可用于以各种格式显示Google表格电子表格中的当前时间或日期。

在Google表格中插入静态时间或日期 (Inserting Static Times or Dates into Google Sheets)

If you want to add the current time or date into your Google Sheets spreadsheet, but you don’t want it to update, you can’t use NOW or TODAY. You’ll have to use a keyboard shortcut instead.

如果要将当前时间或日期添加到Google表格电子表格中,但又不想更新,则不能使用NOW或TODAY。 您必须改用键盘快捷键。

To insert the current date, click on your empty cell, and then click the Ctrl+; (semi-colon) keys on your keyboard.

要插入当前日期,请单击您的空白单元格,然后单击Ctrl +; (分号)键。

To insert the current time, click Ctrl+Shift+: (colon) on your keyboard instead.

要插入当前时间,请改用键盘上的Ctrl + Shift + :(冒号)。

翻译自: https://www.howtogeek.com/448444/how-to-add-the-current-date-and-time-in-google-sheets/

如何在Google表格中添加当前日期和时间相关推荐

  1. 如何在谷歌地图自定义范围_如何在Google表格中更改和创建自定义数字格式

    如何在谷歌地图自定义范围 Khamosh Pathak Khamosh Pathak By default, Google Sheets doesn't format numbers. If you' ...

  2. 如何在word表格中添加删除线,划去不想要的部分?

    如何在word表格中添加删除线,划去不想要的部分? 一.在word的表格中不能直接添加删除线,只能先在excel表格中加上删除线,再复制到word表格中 二.excel表格中添加删除线: 右击选中需要 ...

  3. 电子表格多轴图表_如何在Google表格中切换图表轴

    电子表格多轴图表 When you're creating graphs or charts in Google Sheets, you don't need to stick with the de ...

  4. 如何在Google表格中使用QUERY函数

    If you need to manipulate data in Google Sheets, the QUERY function can help! It brings powerful, da ...

  5. axure低保真原型_如何在Google表格中创建低保真原型

    axure低保真原型 Google Sheets is a spreadsheet, just like Microsoft Excel. Google表格是一个电子表格,就像Microsoft Ex ...

  6. wps迷你版表格内文字缩放_如何在Google表格中使用迷你图

    wps迷你版表格内文字缩放 When you're working with large amounts of data in a Google Sheets spreadsheet, it isn' ...

  7. 如何在Google表格中直接使用Google翻译

    Google Translate lets you translate words or phrases from one language to another, but did you know ...

  8. excel表格不够怎么添加_如何在Excel表格中添加特殊符号?借用快捷键,一步到位...

    新年假期也即将到来,相信很多小伙伴们也都会回家过年.不过在这之前,我们还是需要做好手头上的工作的,对一些办公技巧还不熟练的朋友,今天小编给大家整理的了一些关于在Excel表格中添加特殊符号的小技巧,希 ...

  9. 谷歌中阻止冒泡在火狐中失效_如何在Google表格中乘数字

    谷歌中阻止冒泡在火狐中失效 Whether you have two integers, a few cells, or a couple of columns that need to be mul ...

最新文章

  1. 【算法基础】时间复杂度:大O阶方法
  2. 简单快速修改大量重复代码(Intellij IDEA)
  3. Python学习(四)数据结构 —— set frozenset
  4. 每日一博 - ThreadLocal VS InheritableThreadLocal VS TransmittableThreadLocal
  5. bzoj1051: [HAOI2006]受欢迎的牛
  6. data数值设置 vue_怎么改变vue中data的数据
  7. 问题记录:EntityFramework 一对一关系映射
  8. Matlab怎样将传递函数转换成差分方程
  9. “空天地”一体化的遥感农业保险简介
  10. 【Python】使用torrentParser1.02对单文件torrent的分析结果
  11. 添加manifest解决IDirect3DDevice9::GetFrontBufferData抓屏返回失败
  12. C语言项目源码,C语言源代码大全(2021最新)!
  13. 随机画五十个圆python_随拼音,随部首,随笔画,随组词,随解释,随笔顺,随词语,随康熙字典解释,随说文解字解释 - 查字典|CHAZIDIAN...
  14. 电工学复习【7】-- 集成运算放大器
  15. QQ被异地登录冻结,求解冻。有偿
  16. C语言简单连点器网课必备
  17. 将列表类型的数据转换为树形数据
  18. 2021-2027全球与中国智能访客管理系统市场现状及未来发展趋势
  19. 云脉相册管理,检索轻松便捷
  20. 博客赚钱也疯狂--个人博客如何赚钱

热门文章

  1. 哪些数学特征可以用来描述一组数据
  2. 概率统计Python计算:学生分布分位点计算
  3. 树形结构数据, 已知某一子节点 ,一次向上获取所有父节点
  4. pacman / yaourt 命令
  5. 正则表达式—————根据银行卡号判断银行名称
  6. PDF格式分析(六十六) Text 文字——简单字体
  7. SVN如何对已经提交的注释进行再次修改?
  8. FTT 海面模拟(DirectX11)
  9. Java - 什么是ORM?
  10. 提高项目10-编制三角函数表