zoukankan      html  css  js  c++  java
  • enum SQLiteDateFormats

    DateTimeFormatInfo.CurrentInfo

    https://msdn.microsoft.com/en-us/library/system.globalization.datetimeformatinfo.currentinfo(v=vs.110).aspx

    CultureInfo 

    https://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo(v=vs.110).aspx

    This implementation of SQLite for ADO.NET can process date/time fields in databases in one of six formats. 

    Remarks
    ISO8601 format is more compatible, readable, fully-processable, but less accurate as it does not provide time down to fractions of a second.

    JulianDay is the numeric format the SQLite uses internally and is arguably the most compatible with 3rd party tools.It is not readable as text without post-processing.

    Ticks less compatible with 3rd party tools that query the database, and renders the DateTime field unreadable as text without post-processing.

    UnixEpoch is more compatible with Unix systems.

    InvariantCulture allows the configured format for the invariant culture format to be used and is human readable.

    CurrentCulture allows the configured format for the current culture to be used and is also human readable.

    The preferred order of choosing a DateTime format is JulianDay, ISO8601, and then Ticks. Ticks is mainly present for legacy code support.

    Members
    Member Name Description
    Ticks                     Use the value of DateTime.Ticks. This value is not recommended and is not well supported with LINQ.
    ISO8601                Use the ISO-8601 format. Uses the "yyyy-MM-dd HH:mm:ss.FFFFFFFK" format for UTC DateTime values and "yyyy-MM-dd HH:mm:ss.FFFFFFF" format for local DateTime values).
    JulianDay               The interval of time in days and fractions of a day since January 1, 4713 BC.
    UnixEpoch             The whole number of seconds since the Unix epoch (January 1, 1970).
    InvariantCulture      Any culture-independent string value that the .NET Framework can interpret as a valid DateTime.
    CurrentCulture        Any string value that the .NET Framework can interpret as a valid DateTime using the current culture.
    Default                   The default format for this provider.

  • 相关阅读:
    MySQL
    Shell运算符:Shell算数运算符、关系运算符、布尔运算符、字符串运算符等
    ps
    top
    sed
    nav响应范围一定要足够宽
    续上获取input的checked用prop时返回的是布尔值
    jq不应该用attr获取input的check值
    jq祖级元素
    一些jquery的坑
  • 原文地址:https://www.cnblogs.com/chucklu/p/4105737.html
Copyright © 2011-2022 走看看