Google sheets 使用Google工作表以编程方式格式化日期和时间

Google sheets 使用Google工作表以编程方式格式化日期和时间,google-sheets,formatting,concatenation,google-sheets-formula,Google Sheets,Formatting,Concatenation,Google Sheets Formula,我有一个带有以下内容的手机: =CONCATENATE("This is a date formatted manually: ", 'Master sheet'!B3,"hrs of the following date:", 'Master sheet'!B3, " AND THIS IS IT ") 单元格B3包含一个日期。输出应为: This is a date formatted manually 2230hrs of the 31/12/2019 AND THIS IS IT

我有一个带有以下内容的手机:

=CONCATENATE("This is a date formatted manually: ", 'Master sheet'!B3,"hrs of the following date:", 'Master sheet'!B3, " AND THIS IS IT ")
单元格B3包含一个日期。输出应为:

This is a date formatted manually 2230hrs of the 31/12/2019 AND THIS IS IT 
我可以找到用谷歌表格格式化日期的方法,但你实际上是如何用公式来做的呢

如果我将文件保存为Excel,它会工作吗

="This is a date formatted manually: "&TEXT('Master sheet'!B3,"hhmm")&
 "hrs of the following date: "&TEXT('Master sheet'!B3, "dd/mm/yyyy")&" AND THIS IS IT"


是的,Excel支持
TEXT
公式:


您目前的产量是多少?哇,非常感谢。我意识到这是一个非常简单的问题,但我在任何地方都找不到答案——诚然,计算/电子表格不是我的专长!