YYYY-MM-DD HH:MM:SS日期时间格式的技术名称是什么? [英] What is the technical name for the YYYY-MM-DD HH:MM:SS datetime format?

查看:64
本文介绍了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年的经验),这种格式在工程师中通俗地称为: Yoda时间.

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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆