Be alaways javaing...

          Loving Java
          posts - 43, comments - 5, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

          Oracle日期函數(shù)

          Posted on 2008-07-04 10:32 追風(fēng)舞者 閱讀(248) 評(píng)論(0)  編輯  收藏 所屬分類: Database
          Oracle的日期函數(shù):

          Oracle從8i開始就提供了大量的日期函數(shù),這些日期函數(shù)包括對(duì)日期進(jìn)行加減、轉(zhuǎn)換、截取等功能。下面是Oracle提供的日期函數(shù)一覽表 

          Function

          Use

          ADD_MONTHS

          Adds months to a date

          LAST_DAY

          Computes the last day of the month

          MONTHS_BETWEEN

          Determines the number of months between two dates

          NEW_TIME

          Translates a time to a new time zone

          NEXT_DAY

          Returns the date of the next specified weekday

          ROUND

          Rounds a date/time value to a specified element

          SYSDATE

          Returns the current date and time

          TO_CHAR

          Converts dates to strings

          TO_DATE

          Converts strings and numbers to dates

          TRUNC

          Truncates a date/time value to a specific element


          更多詳細(xì)內(nèi)容請(qǐng)參考:http://www.aygfsteel.com/pengpenglin/archive/2008/06/30/211589.html
          主站蜘蛛池模板: 太仓市| 湖州市| 甘泉县| 綦江县| 中方县| 敦煌市| 滨州市| 广安市| 东至县| 云梦县| 普兰县| 疏附县| 航空| 镇沅| 特克斯县| 太康县| 天祝| 渭南市| 独山县| 五华县| 荣昌县| 团风县| 全椒县| 肇州县| 海安县| 孝义市| 江达县| 汝南县| 阿城市| 玉树县| 新蔡县| 青龙| 福鼎市| 岳普湖县| 钦州市| 赤城县| 盐亭县| 华宁县| 泰来县| 遂平县| 綦江县|