YYYY-MM-DD HH:MM:SS 日期时间格式的技术名称是什么? [英] What is the technical name for the YYYY-MM-DD HH:MM:SS datetime format?
本文介绍了YYYY-MM-DD HH:MM:SS 日期时间格式的技术名称是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
YYYY-MM-DD HH:MM:SS 日期时间格式是否有特殊名称?我正在编写一个以这种格式返回日期的函数,并且我正在尝试找出调用该函数的内容.
Does the YYYY-MM-DD HH:MM:SS datetime format have a special name? I am writing a function that returns a date in this format and I'm trying to figure out what to call the function.
推荐答案
我找不到源代码,但根据我的经验(在 UNIX 环境中作为系统程序员工作了 25 年),这种格式在工程师中被通俗地称为尤达时间.
I can't find a source, but in my experience (25 years working as a systems programmer in UNIX environments) this format is referred to colloquially among engineers as Yoda Time.
它不是有效的 ISO 8601,因为它使用空格而不是 T
来分隔日期和时间部分.
It's not valid ISO 8601 because it uses a space instead of a T
to separate the date and time parts.
这篇关于YYYY-MM-DD HH:MM:SS 日期时间格式的技术名称是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文