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


  • 相关阅读:
    OpenCV -- Mat 转 QImage 函数
    Qt--checkbox
    QT 发布release版本
    JS_0014:JS刷新页面
    JS_0013:JS获取文件后缀名
    JS_0012:JS从一个有规则的字符串中随机选择一个字符再循环生成一个新的无规则的字符串
    JQuery0016:JQuery等待页面全部加载完后执行代码块
    JQuery0015:JQuery查找指定元素并修改其属性
    JS_0011:通过JS给div添加html标签内容
    JS_0010:获取url中指定的参数
  • 原文地址:https://www.cnblogs.com/xwing/p/1812963.html
Copyright © 2011-2022 走看看