自由,平等,開源,分享

            BlogJava :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
            2 Posts :: 61 Stories :: 3 Comments :: 0 Trackbacks

          Function DateToRFC822(byVal dtaVal)
            
          Dim strCurLocale
            strCurLocale
          =GetLocale()
            
          SetLocale("en-gb")
            dtaVal
          =CDate(dtaVal)
            DateToRFC822
          =WeekdayName(Weekday(dtaVal),True)&","&_
              
          Right("0"&Day(dtaVal),2)&" "&_
              
          MonthName(Month(dtaVal),True)&" "&_
              
          Year(dtaVal)&" "&_
              
          Right("0"&Hour(dtaVal),2)&":"&_
              
          Right("0"&Minute(dtaVal),2)&":"& _
              
          Right("0"&Second(dtaVal),2)&" "& _
              
          " +0800"
            
          SetLocale(strCurLocale)
          End Function

          posted on 2008-04-02 09:11 龍震 閱讀(170) 評(píng)論(0)  編輯  收藏 所屬分類: 程序,代碼,語言
          主站蜘蛛池模板: 隆德县| 兴化市| 屯门区| 灌阳县| 汕头市| 榆林市| 顺昌县| 南昌市| 德钦县| 平顺县| 潍坊市| 洪雅县| 隆林| 东辽县| 安丘市| 五指山市| 陵川县| 偏关县| 霍州市| 汉阴县| 蓝田县| 若尔盖县| 六盘水市| 逊克县| 肥乡县| 南靖县| 涿州市| 兴文县| 永康市| 泽州县| 余干县| 大埔区| 鞍山市| 富裕县| 海南省| 磐石市| 北安市| 固安县| 江安县| 广元市| 泾源县|