zoukankan      html  css  js  c++  java
  • DateTime输出结果参考

    Standard DateTime Format Specifiers:

    This date and time: 
    2010/8/30 20:54:51

    Use ToString(String) and the current thread culture.

    Culture:                      中文(中华人民共和国)

    (d) Short date: . . . . . . . 
    2010/8/30
    (D) Long date:. . . . . . . . 2010年8月30日
    (t) Short time: . . . . . . . 
    20:54
    (T) Long time:. . . . . . . . 
    20:54:51
    (f) Full date/short time: . . 2010年8月30日 
    20:54
    (F) Full date/long time:. . . 2010年8月30日 
    20:54:51
    (g) General date/short time:. 
    2010/8/30 20:54
    (G) General date/long time (default):
        . . . . . . . . . . . . . 
    2010/8/30 20:54:51
    (M) Month:. . . . . . . . . . 8月30日
    (R) RFC1123:. . . . . . . . . Mon
    , 30 Aug 2010 12:54:51 GMT
    (s) Sortable: . . . . . . . . 
    2010-08-30T20:54:51
    (u) Universal sortable (invariant):
        . . . . . . . . . . . . . 
    2010-08-30 12:54:51Z
    (U) Universal full date/time: 2010年8月30日 
    12:54:51
    (Y) Year: . . . . . . . . . . 2010年8月
    (o) Roundtrip (local):. . . . 
    2010-08-30T20:54:51.1989897+08:00
    (o) Roundtrip (UTC):. . . . . 
    2010-08-30T12:54:51.1989897Z
    (o) Roundtrip (Unspecified):. 
    2000-03-20T13:02:03.0000000

    Use ToString(String
    , IFormatProvider) and a specified culture.

    Culture:                      德语(德国)

    (d) Short date: . . . . . . . 
    30.08.2010
    (D) Long date:. . . . . . . . Montag
    , 30. August 2010
    (t) Short time: . . . . . . . 
    20:54
    (T) Long time:. . . . . . . . 
    20:54:51
    (f) Full date/short time: . . Montag
    , 30. August 2010 20:54
    (F) Full date/long time:. . . Montag
    , 30. August 2010 20:54:51
    (g) General date/short time:. 
    30.08.2010 20:54
    (G) General date/long time (default):
        . . . . . . . . . . . . . 
    30.08.2010 20:54:51
    (M) Month:. . . . . . . . . . 
    30 August
    (R) RFC1123:. . . . . . . . . Mon
    , 30 Aug 2010 12:54:51 GMT
    (s) Sortable: . . . . . . . . 
    2010-08-30T20:54:51
    (u) Universal sortable (invariant):
        . . . . . . . . . . . . . 
    2010-08-30 12:54:51Z
    (U) Universal full date/time: Montag
    , 30. August 2010 12:54:51
    (Y) Year: . . . . . . . . . . August 
    2010
    (o) Roundtrip (local):. . . . 
    2010-08-30T20:54:51.1989897+08:00
    (o) Roundtrip (UTC):. . . . . 
    2010-08-30T12:54:51.1989897Z
    (o) Roundtrip (Unspecified):. 
    2000-03-20T13:02:03.0000000

    Culture:                      英语(美国)

    (d) Short date: . . . . . . . 
    8/30/2010
    (D) Long date:. . . . . . . . Monday
    , August 30, 2010
    (t) Short time: . . . . . . . 
    8:54 PM
    (T) Long time:. . . . . . . . 
    8:54:51 PM
    (f) Full date/short time: . . Monday
    , August 30, 2010 8:54 PM
    (F) Full date/long time:. . . Monday
    , August 30, 2010 8:54:51 PM
    (g) General date/short time:. 
    8/30/2010 8:54 PM
    (G) General date/long time (default):
        . . . . . . . . . . . . . 
    8/30/2010 8:54:51 PM
    (M) Month:. . . . . . . . . . August 
    30
    (R) RFC1123:. . . . . . . . . Mon
    , 30 Aug 2010 12:54:51 GMT
    (s) Sortable: . . . . . . . . 
    2010-08-30T20:54:51
    (u) Universal sortable (invariant):
        . . . . . . . . . . . . . 
    2010-08-30 12:54:51Z
    (U) Universal full date/time: Monday
    , August 30, 2010 12:54:51 PM
    (Y) Year: . . . . . . . . . . August
    , 2010
    (o) Roundtrip (local):. . . . 
    2010-08-30T20:54:51.1989897+08:00
    (o) Roundtrip (UTC):. . . . . 
    2010-08-30T12:54:51.1989897Z
    (o) Roundtrip (Unspecified):. 
    2000-03-20T13:02:03.0000000


  • 相关阅读:
    交通综合改造工程EPC总承包项目
    二三维一体化地理信息平台
    NetCore3.1升级到Net5.0序列化方法过时问题
    windows server2012部署.net core IIS,页面报503,应用程序池自动停止。。。
    NetCore使用NPOI导入Word中的图片信息
    NetCore 使用 iTextSharp 读取 PDF 中的文字信息
    NetCore 在 Docker中文件路径找不到的问题
    Vue中数组list直接push的是对象而不是追加数据的问题
    netcore3.1增加阿里云OSS云存储服务
    Centos中Docker容器中程序访问宿主机Redis和Mysql
  • 原文地址:https://www.cnblogs.com/xwing/p/1812963.html
Copyright © 2011-2022 走看看