zoukankan      html  css  js  c++  java
  • Oracle中TO_DATE格式

    TO_DATE格式(以时间:2007-11-02   13:45:25为例)
       
            Year:      
            yy two digits 两位年                显示值:07
            yyy three digits 三位年                显示值:007
            yyyy four digits 四位年                显示值:2007
                
            Month:      
            mm    number     两位月              显示值:11
            mon    abbreviated 字符集表示          显示值:11月,若是英文版,显示nov     
            month spelled out 字符集表示          显示值:11月,若是英文版,显示november 
              
            Day:      
            dd    number         当月第几天        显示值:02
            ddd    number         当年第几天        显示值:02
            dy    abbreviated 当周第几天简写    显示值:星期五,若是英文版,显示fri
            day    spelled out   当周第几天全写    显示值:星期五,若是英文版,显示friday        
            ddspth spelled out, ordinal twelfth 
                 
                  Hour:
                  hh    two digits 12小时进制            显示值:01
                  hh24 two digits 24小时进制            显示值:13
                  
                  Minute:
                  mi    two digits 60进制                显示值:45
                  
                  Second:
                  ss    two digits 60进制                显示值:25
                  
                  其它
                  Q     digit         季度                  显示值:4
                  WW    digit         当年第几周            显示值:44
                  W    digit          当月第几周            显示值:1
                  
            24小时格式下时间范围为: 0:00:00 - 23:59:59....      
            12小时格式下时间范围为: 1:00:00 - 12:59:59 .... 
  • 相关阅读:
    collections queue、os、datetime,序列化(json和pickle)模块
    re模块和正则
    模块介绍
    迭代器,生成器,生成器表达式,常用内置方法
    交互式shell和非交互式shell的区别
    /usr 的由来及/usr目录结
    Hadoop
    联通、联在中文机器上乱码问题
    正斜杠与反斜杠
    java中static关键字解析
  • 原文地址:https://www.cnblogs.com/llhl/p/9648731.html
Copyright © 2011-2022 走看看