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 .... 
  • 相关阅读:
    jdbc详解(三)
    超文本传输协议-HTTP/1.1
    前人栽树,后人擦屁股
    JAVA 读取计算机中相关信息
    POJ 1836-Alignment(DP/LIS变形)
    【Android】自己定义控件实现可滑动的开关(switch)
    加深理解UIView,UIResponder,UIController
    Fuel4d 2.3 公布
    Android中使用IntentService运行后台任务
    POJ2762 Going from u to v or from v to u? 强连通+缩点
  • 原文地址:https://www.cnblogs.com/llhl/p/9648731.html
Copyright © 2011-2022 走看看