www.tjgcgs88.cn-狠狠久久亚洲欧美专区不卡,久久精品国产99久久无毒不卡,噼里啪啦国语版在线观看,zσzσzσ女人极品另类

  • <strike id="qgi8o"><td id="qgi8o"></td></strike>
  • <ul id="qgi8o"><acronym id="qgi8o"></acronym></ul>
  • <li id="qgi8o"></li>
    <ul id="qgi8o"></ul>
    <strike id="qgi8o"><rt id="qgi8o"></rt></strike>
    <ul id="qgi8o"><center id="qgi8o"></center></ul>
  • <kbd id="qgi8o"></kbd>

    求時(shí)間日期html代碼,帶農(nóng)歷!(高手進(jìn)) 求一個(gè)網(wǎng)頁(yè)日期顯示html代碼

    下面代碼可以實(shí)現(xiàn)你要的功能,如下。至于你看不到它的真實(shí)的源代碼,它可能通過(guò)程序動(dòng)態(tài)加載,或者是js調(diào)用。你看到的,僅僅是靜態(tài)的html代碼而已!

    <html>

    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>單行帶農(nóng)歷的日期時(shí)間代碼</title>
    </head>

    <body>
    <SCRIPT language=JavaScript>
    <!--
    function CalConv()
    {
    FIRSTYEAR = 1998;
    LASTYEAR = 2031;

    today = new Date();
    SolarYear = today.getFullYear();
    SolarMonth = today.getMonth() + 1;
    SolarDate = today.getDate();
    Weekday = today.getDay();
    LunarCal = [
    new tagLunarCal( 27, 5, 3, 43, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1 ),
    new tagLunarCal( 46, 0, 4, 48, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1 ),
    new tagLunarCal( 35, 0, 5, 53, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1 ),
    new tagLunarCal( 23, 4, 0, 59, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 ),
    new tagLunarCal( 42, 0, 1, 4, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 ),
    new tagLunarCal( 31, 0, 2, 9, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0 ),
    new tagLunarCal( 21, 2, 3, 14, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1 ),
    new tagLunarCal( 39, 0, 5, 20, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1 ),
    new tagLunarCal( 28, 7, 6, 25, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1 ),
    new tagLunarCal( 48, 0, 0, 30, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1 ),
    new tagLunarCal( 37, 0, 1, 35, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1 ),
    new tagLunarCal( 25, 5, 3, 41, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1 ),
    new tagLunarCal( 44, 0, 4, 46, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1 ),
    new tagLunarCal( 33, 0, 5, 51, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 ),
    new tagLunarCal( 22, 4, 6, 56, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 ),
    new tagLunarCal( 40, 0, 1, 2, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 ),
    new tagLunarCal( 30, 9, 2, 7, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1 ),
    new tagLunarCal( 49, 0, 3, 12, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1 ),
    new tagLunarCal( 38, 0, 4, 17, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0 ),
    new tagLunarCal( 27, 6, 6, 23, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1 ),
    new tagLunarCal( 46, 0, 0, 28, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0 ),
    new tagLunarCal( 35, 0, 1, 33, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0 ),
    new tagLunarCal( 24, 4, 2, 38, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 ),
    new tagLunarCal( 42, 0, 4, 44, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ),
    new tagLunarCal( 31, 0, 5, 49, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0 ),
    new tagLunarCal( 21, 2, 6, 54, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1 ),
    new tagLunarCal( 40, 0, 0, 59, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1 ),
    new tagLunarCal( 28, 6, 2, 5, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0 ),
    new tagLunarCal( 47, 0, 3, 10, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1 ),
    new tagLunarCal( 36, 0, 4, 15, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1 ),
    new tagLunarCal( 25, 5, 5, 20, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0 ),
    new tagLunarCal( 43, 0, 0, 26, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1 ),
    new tagLunarCal( 32, 0, 1, 31, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0 ),
    new tagLunarCal( 22, 3, 2, 36, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0 ) ];

    SolarCal = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ];

    SolarDays = [ 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365, 396, 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366, 397 ];

    if ( SolarYear <= FIRSTYEAR || SolarYear > LASTYEAR ) return 1;
    sm = SolarMonth - 1;
    if ( sm < 0 || sm > 11 ) return 2;
    leap = GetLeap( SolarYear );
    if ( sm == 1 )
    d = leap + 28;
    else
    d = SolarCal[sm];
    if ( SolarDate < 1 || SolarDate > d ) return 3;
    y = SolarYear - FIRSTYEAR;
    acc = SolarDays[ leap*14 + sm ] + SolarDate;
    kc = acc + LunarCal[y].BaseKanChih;
    Kan = kc % 10;
    Chih = kc % 12;

    Age = kc % 60;
    if ( Age < 22 )
    Age = 22 - Age;
    else
    Age = 82 - Age;

    if ( acc <= LunarCal[y].BaseDays ) {
    y--;
    LunarYear = SolarYear - 1;
    leap = GetLeap( LunarYear );
    sm += 12;
    acc = SolarDays[leap*14 + sm] + SolarDate;
    }
    else
    LunarYear = SolarYear;
    l1 = LunarCal[y].BaseDays;
    for ( i=0; i<13; i++ ) {
    l2 = l1 + LunarCal[y].MonthDays[i] + 29;
    if ( acc <= l2 ) break;
    l1 = l2;
    }
    LunarMonth = i + 1;
    LunarDate = acc - l1;
    im = LunarCal[y].Intercalation;
    if ( im != 0 && LunarMonth > im ) {
    LunarMonth--;
    if ( LunarMonth == im ) LunarMonth = -im;
    }
    if ( LunarMonth > 12 ) LunarMonth -= 12;
    today=new Date();
    function initArray(){
    this.length=initArray.arguments.length
    for(var i=0;i<this.length;i++)
    this[i+1]=initArray.arguments[i] }
    var d=new initArray("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
    document.write("", today.getYear(),"年",today.getMonth()+1,"月",today.getDate(),"日 ",d[today.getDay()+1],"");

    months = ["一","二","三","四","五","六","七","八","九","十","十一","十二"];

    days = ["初一","初二","初三","初四","初五","初六","初七","初八","初九","初十","十一","十二","十三","十四","十五","十六","十七","十八","十九","二十","廿一","廿二","廿三","廿四","廿五","廿六","廿七","廿八","廿九","三十"];

    document.write( " 農(nóng)歷"+months[LunarMonth-1]+"月" + days[LunarDate-1] + "");

    return 0;
    }

    function GetLeap( year )
    {
    if ( year % 400 == 0 )
    return 1;
    else if ( year % 100 == 0 )
    return 0;
    else if ( year % 4 == 0 )
    return 1;
    else
    return 0;
    }
    function tagLunarCal( d, i, w, k, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13) {
    this.BaseDays = d;
    this.Intercalation = i;
    this.BaseWeekday = w;
    this.BaseKanChih = k;
    this.MonthDays = [ m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13 ];
    }
    //-->
    </SCRIPT>
    <a target=_blank href=http://www.qpsh.com><FONT color=#2b68a7><SCRIPT>CalConv();</SCRIPT></FONT></a>
    </body>

    </html>

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <!-- saved from url=(0027)http://www.lzsq.net/wnl.htm -->
    <HTML><HEAD><TITLE>萬(wàn)年歷 在線(xiàn)日歷</TITLE>
    <META
    content="農(nóng)歷; 陽(yáng)歷; 月歷; 節(jié)日; 時(shí)區(qū); 節(jié)氣; 八字; 干支; 生肖; gregorian solar; chinese lunar; calendar;"
    name=keywords>
    <META content=All name=robots>
    <META http-equiv=Content-Type content="text/html; charset=gb2312">
    <STYLE>BODY {
    FONT-SIZE: 9pt
    }
    TABLE {
    FONT-SIZE: 9pt
    }
    </STYLE>

    <SCRIPT language=JavaScript>
    function click() {

    if (event.button==2) {alert('歡迎訪(fǎng)問(wèn)農(nóng)歷與陽(yáng)歷對(duì)照陳年老黃歷') }}

    document.onmousedown=click

    </SCRIPT>

    <SCRIPT language=JavaScript>
    <!--
    /*****************************************************************************
    日期資料
    *****************************************************************************/

    var lunarInfo=new Array(
    0x04bd8,0x04ae0,0x0a570,0x054d5,0x0d260,0x0d950,0x16554,0x056a0,0x09ad0,0x055d2,
    0x04ae0,0x0a5b6,0x0a4d0,0x0d250,0x1d255,0x0b540,0x0d6a0,0x0ada2,0x095b0,0x14977,
    0x04970,0x0a4b0,0x0b4b5,0x06a50,0x06d40,0x1ab54,0x02b60,0x09570,0x052f2,0x04970,
    0x06566,0x0d4a0,0x0ea50,0x06e95,0x05ad0,0x02b60,0x186e3,0x092e0,0x1c8d7,0x0c950,
    0x0d4a0,0x1d8a6,0x0b550,0x056a0,0x1a5b4,0x025d0,0x092d0,0x0d2b2,0x0a950,0x0b557,
    0x06ca0,0x0b550,0x15355,0x04da0,0x0a5d0,0x14573,0x052d0,0x0a9a8,0x0e950,0x06aa0,
    0x0aea6,0x0ab50,0x04b60,0x0aae4,0x0a570,0x05260,0x0f263,0x0d950,0x05b57,0x056a0,
    0x096d0,0x04dd5,0x04ad0,0x0a4d0,0x0d4d4,0x0d250,0x0d558,0x0b540,0x0b5a0,0x195a6,
    0x095b0,0x049b0,0x0a974,0x0a4b0,0x0b27a,0x06a50,0x06d40,0x0af46,0x0ab60,0x09570,
    0x04af5,0x04970,0x064b0,0x074a3,0x0ea50,0x06b58,0x055c0,0x0ab60,0x096d5,0x092e0,
    0x0c960,0x0d954,0x0d4a0,0x0da50,0x07552,0x056a0,0x0abb7,0x025d0,0x092d0,0x0cab5,
    0x0a950,0x0b4a0,0x0baa4,0x0ad50,0x055d9,0x04ba0,0x0a5b0,0x15176,0x052b0,0x0a930,
    0x07954,0x06aa0,0x0ad50,0x05b52,0x04b60,0x0a6e6,0x0a4e0,0x0d260,0x0ea65,0x0d530,
    0x05aa0,0x076a3,0x096d0,0x04bd7,0x04ad0,0x0a4d0,0x1d0b6,0x0d250,0x0d520,0x0dd45,
    0x0b5a0,0x056d0,0x055b2,0x049b0,0x0a577,0x0a4b0,0x0aa50,0x1b255,0x06d20,0x0ada0)

    var solarMonth=new Array(31,28,31,30,31,30,31,31,30,31,30,31);
    var Gan=new Array("甲","乙","丙","丁","戊","己","庚","辛","壬","癸");
    var Zhi=new Array("子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥");
    var Animals=new Array("鼠","牛","虎","兔","龍","蛇","馬","羊","猴","雞","狗","豬");
    var solarTerm = new Array("小寒","大寒","立春","雨水","驚蟄","春分","清明","谷雨","立夏","小滿(mǎn)","芒種","夏至","小暑","大暑","立秋","處暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至")
    var sTermInfo = new Array(0,21208,42467,63836,85337,107014,128867,150921,173149,195551,218072,240693,263343,285989,308563,331033,353350,375494,397447,419210,440795,462224,483532,504758)
    var nStr1 = new Array('日','一','二','三','四','五','六','七','八','九','十')
    var nStr2 = new Array('初','十','廿','卅',' ')
    var monthName = new Array("1 月","2 月","3 月","4 月","5 月","6 月","7 月","8 月","9 月","10 月","11 月","12 月");

    //國(guó)歷節(jié)日 *表示放假日
    var sFtv = new Array(
    "0101*元旦",
    "0214 情人節(jié)",
    "0308 婦女節(jié)",
    "0312 植樹(shù)節(jié)",
    "0315 消費(fèi)者權(quán)益日",
    "0401 愚人節(jié)",
    "0501 勞動(dòng)節(jié)",
    "0504 青年節(jié)",
    "0512 護(hù)士節(jié)",
    "0601 兒童節(jié)",
    "0701 建黨節(jié) 香港回歸紀(jì)念",
    "0801 建軍節(jié)",
    "0808 父親節(jié)",
    "0909 毛澤東逝世紀(jì)念",
    "0910 教師節(jié)",
    "0928 孔子誕辰",
    "1001*國(guó)慶節(jié)",
    "1006 老人節(jié)",
    "1024 聯(lián)合國(guó)日",
    "1112 孫中山誕辰紀(jì)念",
    "1220 澳門(mén)回歸紀(jì)念",
    "1225 圣誕節(jié)",
    "1226 毛澤東誕辰紀(jì)念")

    //農(nóng)歷節(jié)日 *表示放假日
    var lFtv = new Array(
    "0101*春節(jié)",
    "0115 元宵節(jié)",
    "0505 端午節(jié)",
    "0715 中元節(jié)",
    "0815 中秋節(jié)",
    "0909 重陽(yáng)節(jié)",
    "1208 臘八節(jié)",
    "1224 小年",
    "0100*除夕")

    //某月的第幾個(gè)星期幾
    var wFtv = new Array(
    "0520 母親節(jié)",
    "0716 合作節(jié)",
    "0730 被奴役國(guó)家周")

    /*****************************************************************************
    日期計(jì)算
    *****************************************************************************/

    //====================================== 傳回農(nóng)歷 y年的總天數(shù)
    function lYearDays(y) {
    var i, sum = 348
    for(i=0x8000; i>0x8; i>>=1) sum += (lunarInfo[y-1900] & i)? 1: 0
    return(sum+leapDays(y))
    }

    //====================================== 傳回農(nóng)歷 y年閏月的天數(shù)
    function leapDays(y) {
    if(leapMonth(y)) return((lunarInfo[y-1900] & 0x10000)? 30: 29)
    else return(0)
    }

    //====================================== 傳回農(nóng)歷 y年閏哪個(gè)月 1-12 , 沒(méi)閏傳回 0
    function leapMonth(y) {
    return(lunarInfo[y-1900] & 0xf)
    }

    //====================================== 傳回農(nóng)歷 y年m月的總天數(shù)
    function monthDays(y,m) {
    return( (lunarInfo[y-1900] & (0x10000>>m))? 30: 29 )
    }

    //====================================== 算出農(nóng)歷, 傳入日期物件, 傳回農(nóng)歷日期物件
    // 該物件屬性有 .year .month .day .isLeap .yearCyl .dayCyl .monCyl
    function Lunar(objDate) {

    var i, leap=0, temp=0
    var baseDate = new Date(1900,0,31)
    var offset = (objDate - baseDate)/86400000

    this.dayCyl = offset + 40
    this.monCyl = 14

    for(i=1900; i<2050 && offset>0; i++) {
    temp = lYearDays(i)
    offset -= temp
    this.monCyl += 12
    }

    if(offset<0) {
    offset += temp;
    i--;
    this.monCyl -= 12
    }

    this.year = i
    this.yearCyl = i-1864

    leap = leapMonth(i) //閏哪個(gè)月
    this.isLeap = false

    for(i=1; i<13 && offset>0; i++) {
    //閏月
    if(leap>0 && i==(leap+1) && this.isLeap==false)
    { --i; this.isLeap = true; temp = leapDays(this.year); }
    else
    { temp = monthDays(this.year, i); }

    //解除閏月
    if(this.isLeap==true && i==(leap+1)) this.isLeap = false

    offset -= temp
    if(this.isLeap == false) this.monCyl ++
    }

    if(offset==0 && leap>0 && i==leap+1)
    if(this.isLeap)
    { this.isLeap = false; }
    else
    { this.isLeap = true; --i; --this.monCyl;}

    if(offset<0){ offset += temp; --i; --this.monCyl; }

    this.month = i
    this.day = offset + 1
    }

    //==============================傳回陽(yáng)歷 y年某m+1月的天數(shù)
    function solarDays(y,m) {
    if(m==1)
    return(((y%4 == 0) && (y%100 != 0) || (y%400 == 0))? 29: 28)
    else
    return(solarMonth[m])
    }
    //============================== 傳入 offset 傳回干支, 0=甲子
    function cyclical(num) {
    return(Gan[num%10]+Zhi[num%12])
    }

    //============================== 月歷屬性
    function calElement(sYear,sMonth,sDay,week,lYear,lMonth,lDay,isLeap,cYear,cMonth,cDay) {

    this.isToday = false;
    //陽(yáng)歷
    this.sYear = sYear;
    this.sMonth = sMonth;
    this.sDay = sDay;
    this.week = week;
    //農(nóng)歷
    this.lYear = lYear;
    this.lMonth = lMonth;
    this.lDay = lDay;
    this.isLeap = isLeap;
    //干支
    this.cYear = cYear;
    this.cMonth = cMonth;
    this.cDay = cDay;

    this.color = '';

    this.lunarFestival = ''; //農(nóng)歷節(jié)日
    this.solarFestival = ''; //陽(yáng)歷節(jié)日
    this.solarTerms = ''; //節(jié)氣

    }

    //===== 某年的第n個(gè)節(jié)氣為幾日(從0小寒起算)
    function sTerm(y,n) {
    var offDate = new Date( ( 31556925974.7*(y-1900) + sTermInfo[n]*60000 ) + Date.UTC(1900,0,6,2,5) )
    return(offDate.getUTCDate())
    }

    //============================== 傳回月歷物件 (y年,m+1月)
    function calendar(y,m) {

    var sDObj, lDObj, lY, lM, lD=1, lL, lX=0, tmp1, tmp2
    var lDPOS = new Array(3)
    var n = 0
    var firstLM = 0

    sDObj = new Date(y,m,1) //當(dāng)月一日日期

    this.length = solarDays(y,m) //陽(yáng)歷當(dāng)月天數(shù)
    this.firstWeek = sDObj.getDay() //陽(yáng)歷當(dāng)月1日星期幾

    for(var i=0;i<this.length;i++) {

    if(lD>lX) {
    sDObj = new Date(y,m,i+1) //當(dāng)月一日日期
    lDObj = new Lunar(sDObj) //農(nóng)歷
    lY = lDObj.year //農(nóng)歷年
    lM = lDObj.month //農(nóng)歷月
    lD = lDObj.day //農(nóng)歷日
    lL = lDObj.isLeap //農(nóng)歷是否閏月
    lX = lL? leapDays(lY): monthDays(lY,lM) //農(nóng)歷當(dāng)月最后一天

    if(n==0) firstLM = lM
    lDPOS[n++] = i-lD+1
    }

    //sYear,sMonth,sDay,week,
    //lYear,lMonth,lDay,isLeap,
    //cYear,cMonth,cDay
    this[i] = new calElement(y, m+1, i+1, nStr1[(i+this.firstWeek)%7],
    lY, lM, lD++, lL,
    cyclical(lDObj.yearCyl) ,cyclical(lDObj.monCyl), cyclical(lDObj.dayCyl++) )

    if((i+this.firstWeek)%7==0) this[i].color = 'red' //周日顏色
    if((i+this.firstWeek)%14==13) this[i].color = 'red' //周休二日顏色
    }

    //節(jié)氣
    tmp1=sTerm(y,m*2 )-1
    tmp2=sTerm(y,m*2+1)-1
    this[tmp1].solarTerms = solarTerm[m*2]
    this[tmp2].solarTerms = solarTerm[m*2+1]
    if(m==3) this[tmp1].color = 'red' //清明顏色

    //陽(yáng)歷節(jié)日
    for(i in sFtv)
    if(sFtv[i].match(/^(\d{2})(\d{2})([\s\*])(.+)$/))
    if(Number(RegExp.$1)==(m+1)) {
    this[Number(RegExp.$2)-1].solarFestival += RegExp.$4 + ' '
    if(RegExp.$3=='*') this[Number(RegExp.$2)-1].color = 'red'
    }

    //月周節(jié)日
    for(i in wFtv)
    if(wFtv[i].match(/^(\d{2})(\d)(\d)([\s\*])(.+)$/))
    if(Number(RegExp.$1)==(m+1)) {
    tmp1=Number(RegExp.$2)
    tmp2=Number(RegExp.$3)
    this[((this.firstWeek>tmp2)?7:0) + 7*(tmp1-1) + tmp2 - this.firstWeek].solarFestival += RegExp.$5 + ' '
    }

    //農(nóng)歷節(jié)日
    for(i in lFtv)
    if(lFtv[i].match(/^(\d{2})(.{2})([\s\*])(.+)$/)) {
    tmp1=Number(RegExp.$1)-firstLM
    if(tmp1==-11) tmp1=1
    if(tmp1 >=0 && tmp1<n) {
    tmp2 = lDPOS[tmp1] + Number(RegExp.$2) -1
    if( tmp2 >= 0 && tmp2<this.length) {
    this[tmp2].lunarFestival += RegExp.$4 + ' '
    if(RegExp.$3=='*') this[tmp2].color = 'red'
    }
    }
    }

    //黑色星期五
    if((this.firstWeek+12)%7==5)
    this[12].solarFestival += '黑色星期五 '

    //今日
    if(y==tY && m==tM) this[tD-1].isToday = true;

    }

    //====================== 中文日期
    function cDay(d){
    var s;

    switch (d) {
    case 10:
    s = '初十'; break;
    case 20:
    s = '二十'; break;
    break;
    case 30:
    s = '三十'; break;
    break;
    default :
    s = nStr2[Math.floor(d/10)];
    s += nStr1[d%10];
    }
    return(s);
    }

    ///////////////////////////////////////////////////////////////////////////////

    var cld;

    function drawCld(SY,SM) {
    var i,sD,s,size;
    cld = new calendar(SY,SM);

    if(SY>1874 && SY<1909) yDisplay = '光緒' + (((SY-1874)==1)?'元':SY-1874)
    if(SY>1908 && SY<1912) yDisplay = '宣統(tǒng)' + (((SY-1908)==1)?'元':SY-1908)
    if(SY>1911 && SY<1950) yDisplay = '民國(guó)' + (((SY-1911)==1)?'元':SY-1911)
    if(SY>1949) yDisplay = '' + (((SY-1949)==1)?'元':SY)

    GZ.innerHTML = yDisplay +'年 農(nóng)歷' + cyclical(SY-1900+36) + '年   【'+Animals[(SY-4)%12]+'】';

    MSN網(wǎng)站上的日歷是通過(guò)服務(wù)端的程序計(jì)算實(shí)現(xiàn)的,所以,你看不到其他HTML代碼.

    樓上貼出的代碼也能實(shí)現(xiàn),只是表現(xiàn)出來(lái)的形式可能不是你要的,需要自己修改一下.

    求時(shí)間日期html代碼,帶農(nóng)歷!(高手進(jìn))
    <html> <head> <meta http-equiv="Content-Type" content="text\/html; charset=gb2312"> <title>單行帶農(nóng)歷的日期時(shí)間代碼<\/title> <\/head> <body> <SCRIPT language=JavaScript> <!-- function CalConv(){ FIRSTYEAR = 1998;LASTYEAR = 2031;today = new Date();SolarYear = today.getFu...

    求顯示農(nóng)歷的網(wǎng)頁(yè)代碼\/.
    sDObj = new Date(y,m,i+1) \/\/當(dāng)月一日日期 lDObj = new Lunar(sDObj) \/\/農(nóng)歷 lY = lDObj.year \/\/農(nóng)歷年 lM = lDObj.month \/\/農(nóng)歷月 lD = lDObj.day \/\/農(nóng)歷日 lL = lDObj.isLeap \/\/農(nóng)歷是否閏月 lX = lL? leapDays(lY): monthDays(lY,lM) \/\/農(nóng)歷當(dāng)月最后一天 if(n==0) firstLM ...

    求單行時(shí)間日期html代碼,帶農(nóng)歷,添加方法
    代碼提示:將下面的代碼復(fù)制到〈BODY〉區(qū) <script language="JavaScript"> <!-- function CalConv(){ FIRSTYEAR = 1998;LASTYEAR = 2031;today = new Date();SolarYear = today.getFullYear();SolarMonth = today.getMonth() + 1;SolarDate = today.getDate();Weekday = today.getDay();L...

    VB高手編輯一個(gè)電子萬(wàn)年歷的程序源代碼啊
    \/\/GZ.innerHTML = yDisplay +'年 農(nóng)歷 ' + cyclical(SY-1900+36) + '年 【'+Animals[(SY-4)%12]+'年】'; \/\/YMBG.innerHTML = " " + SY + "<BR> " + monthName[SM]; for(i=0;i<42;i++) { sObj=eval('SD'+ i); lObj=eval('LD'+ i); sObj.className = ''; sD = i -...

    求Java萬(wàn)年歷源代碼!!!
    sDObj = new Date(y,m,i+1) \/\/當(dāng)月一日日期 lDObj = new Lunar(sDObj) \/\/農(nóng)歷 lY = lDObj.year \/\/農(nóng)歷年 lM = lDObj.month \/\/農(nóng)歷月 lD = lDObj.day \/\/農(nóng)歷日 lL = lDObj.isLeap \/\/農(nóng)歷是否閏月 lX = lL? leapDays(lY): monthDays(lY,lM) \/\/農(nóng)歷當(dāng)月最后一天 if(n==0) firstLM...

    如何在電腦中顯示農(nóng)歷日期?
    1、首先,點(diǎn)“開(kāi)始”,然后找到并點(diǎn)擊“控制面板”2、進(jìn)入之后,點(diǎn)擊“添加語(yǔ)言”3、然后在左側(cè)找到并點(diǎn)擊“更改日期,時(shí)間數(shù)定格式”4、然后按下圖所示設(shè)置,最后點(diǎn)確定

    求asp 公歷轉(zhuǎn)農(nóng)歷代碼,最好是可以通過(guò)函數(shù)直接調(diào)用的.
    農(nóng)歷中一種日月兼顧的歷法,月份是以月為歷,節(jié)氣是以日為歷,地公轉(zhuǎn)軌道是一個(gè)以太陽(yáng)為一個(gè)焦點(diǎn)的橢圓,以近日點(diǎn)為0度,以太陽(yáng)為中心,將地球公轉(zhuǎn)所掃過(guò)的角度每十五度的界點(diǎn)所在日期便是一個(gè)節(jié)氣。(可以運(yùn)用立體幾何算出,春分秋分大陽(yáng)直射赤道,地球任意一經(jīng)緯處日夜時(shí)間相等;夏至冬至太陽(yáng)直射回歸...

    2024年9月是農(nóng)歷幾月2024年9月農(nóng)歷時(shí)間查詢(xún)
    2024年9月對(duì)應(yīng)的農(nóng)歷時(shí)間如下:- 2024年9月1日是農(nóng)歷七月廿九。- 2024年9月30日是農(nóng)歷八月廿八。具體每個(gè)日期的農(nóng)歷對(duì)應(yīng)情況如下:- 公歷2024年9月2日,農(nóng)歷2024年七月三十,星期一,沖豬(癸亥)煞東。- 公歷2024年9月10日,農(nóng)歷2024年八月初八,星期二,沖羊(辛未)煞東。- 公歷2024年9月13日...

    2024年9月是農(nóng)歷幾月 2024年9月農(nóng)歷時(shí)間查詢(xún)
    2024年9月是農(nóng)歷七月和八月。2024年9月農(nóng)歷時(shí)間查詢(xún) 2024年9月有30天,具體是9月1日(農(nóng)歷七月廿九)-9月30日(農(nóng)歷八月廿八)。2024年9月最吉利的日子 公歷2024年9月2日,農(nóng)歷2024年七月三十,星期一,沖豬(癸亥)煞東 公歷2024年9月10日,農(nóng)歷2024年八月初八,星期二,沖羊(辛未)煞東 公歷...

    宏創(chuàng)萬(wàn)年歷時(shí)鐘時(shí)間,日期和星期怎么調(diào)
    1、首先打開(kāi)Excel表格軟件,然后鼠標(biāo)右鍵單擊“sheet2”重命名為萬(wàn)年歷。2、由于用到了控件工具,因此必須降低工作表的宏安全性。單擊“工具”——“宏”——“安全性”,彈出下圖窗口。3、彈出“安全性”對(duì)話(huà)框,安全級(jí)別選擇“中”。4、然后右鍵單擊上方菜單欄的空白處,選擇“控件工具箱”。5、彈出...

    相關(guān)評(píng)說(shuō):

  • 策時(shí)17684294396: 網(wǎng)頁(yè)中顯示時(shí)間代碼 -
    柏鄉(xiāng)縣剛度: ______ 將代碼保存好后,在需要用到的頁(yè)面的<head>與</head>之間放入 <script scr="js文件所在的路徑()" type="text/javascript"></script> 之后再本頁(yè)面需要用到的地方加入代碼: 今天是:<script language="javascript">CAL();</script> 示...
  • 策時(shí)17684294396: 在HTML里如何用數(shù)組求當(dāng)天時(shí)間
    柏鄉(xiāng)縣剛度: ______ var time = new Date(); var arrDay=['星期日','星期一','星期二','星期三','星期四','星期五','星期六']; var day=time.getDay(); alert(arrDay[day]);
  • 策時(shí)17684294396: 求萬(wàn)年歷的原代碼
    柏鄉(xiāng)縣剛度: ______ <!DOCTYPE html PUBLIC "-//W3C//Dtd XHTML 1.0 transitional//EN" " http://www.w3.org/tr/xhtml1/Dtd/xhtml1-transitional.dtd"> <html xmlns=" http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html;...
  • 策時(shí)17684294396: 求獲取當(dāng)前時(shí)間的HTML代碼
    柏鄉(xiāng)縣剛度: ______ <div id="timer" style="font:11px tahoma;height:10px;"></div><script>setInterval("timeStr=new Date().toLocaleString();timer.innerText=timeStr;",1000)</script>
  • 策時(shí)17684294396: 找一段網(wǎng)頁(yè)時(shí)間代碼
    柏鄉(xiāng)縣剛度: ______ <html> <head> <title>當(dāng)前時(shí)間</title> </head> <!--將以下代碼加入HTML的<Body></Body>之間--> <script language=JavaScript> var timerID = null; var timerRunning = false; function stopclock (){ if(timerRunning) clearTimeout(timerID); ...
  • 策時(shí)17684294396: JS代碼獲取日期時(shí)間的網(wǎng)頁(yè) -
    柏鄉(xiāng)縣剛度: ______ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author" CONTENT=""> <META ...
  • 策時(shí)17684294396: 1、如何在html頁(yè)面中獲取系統(tǒng)當(dāng)前時(shí)間? -
    柏鄉(xiāng)縣剛度: ______ function getCurDate(){ var d = new Date(); var week; switch (d.getDay()){ case 1: week="星期一"; break; cas...
  • 策時(shí)17684294396: 誰(shuí)有一個(gè)在IE,FF,下都兼容的JS日歷代碼 -
    柏鄉(xiāng)縣剛度: ______ <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>Canlender--JavaScript</title><style> td { font-family: Arial, Helvetica, sans-serif; font-size: 12px; cursor: hand; } </style></head><body><table border=...
  • 策時(shí)17684294396: 在同一個(gè)HTML中 多個(gè)地方獲取當(dāng)前系統(tǒng)時(shí)間怎么做 -
    柏鄉(xiāng)縣剛度: ______ 代碼如下:<!doctype html><html><head><meta charset="utf-8"><title></title><body><div class="nowDate">當(dāng)前時(shí)間是:xxxx/xx/xx</div><div class="nowDate">當(dāng)前時(shí)間是:xxxx/xx/xx</div><div class="nowDate">當(dāng)前時(shí)間是:xxxx/xx/...
  • 国产区精品在线一区二区日韩欧美| 中文字幕人妻丝袜乱一区三区| 偷拍激情视频一区二区三区| 国产日韩欧美| 免费播放欧美一级特黄| 国产国产精品人在线视| 精品乱码一区内射人妻无码| 久久天天躁夜夜躁狠狠85麻豆| 国产精品永久久久久久久久久| 成全动漫视频在线观看完整版|