Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

aspʱ¼äº¯Êý´óÈ«

 asp nowº¯Êý,ASPʱ¼äº¯ÊýÏê½â ,aspʱ¼äº¯Êý´óÈ«,asp ÐÇÆÚº¯Êý
now() »ñÈ¡µ±Ç°ÏµÍ³ÈÕÆÚºÍʱ¼ä,ASPÊä³ö¿ÉÒÔÕâÑùд£º<%=now()%>
Year(now()) »ñÈ¡Äê·Ý£¬ ASPÊä³ö£º<%=Year(now())%>
Month(now()) »ñÈ¡µ±Ç°Ô·ݣ¬ASPÊä³ö£º<%=Month(now())%>
day(now()) »ñÈ¡µ±ÌìÊý£¬ASPÊä³ö£º<%=day(now())%>
Minute(now()) »ñÈ¡·ÖÖÓÊý£¬ASPÊä³ö£º<%=Minute(now())%>
Second(now()) »ñÈ¡ÃëÖÓÊý£¬ASPÊä³ö£º<%=Second(now())%>
date() »ñÈ¡µ±Ç°ÏµÍ³ÈÕÆÚ£¬¸ñʽΪ£º2004-2-28
time() »ñÈ¡µ±Ç°ÏµÍ³Ê±¼ä£¬¸ñʽΪ£º22:24:59
ÒÔ2005-5-2 22:37:30ÐÇÆÚһΪÀý£º 
2005-5-2£º<%=date()%> 
2005£º<%=year(date())%> 
5£º<%=month(date())%> 
2£º<%=day(date())%> 
22£º<%=hour(now())%> 
37£º<%=minute(now())%> 
30£º<%=second(now())%> 
ÐÇÆÚÒ»£º<%=weekdayname(weekday(now)) %> 
ASPʱ¼äº¯ÊýÏê½â 
Date º¯Êý 
ÃèÊö:·µ»Øµ±Ç°ÏµÍ³ÈÕÆÚ¡£ 
Óï·¨:Date 
DateAdd º¯Êý 
ÃèÊö:·µ»ØÒÑÌí¼ÓÖ¸¶¨Ê±¼ä¼ä¸ôµÄÈÕÆÚ¡£ 
Óï·¨:DateAdd(interval, number, date) 
interval: ±ØÑ¡¡£×Ö·û´®±í´ïʽ£¬±íʾҪÌí¼ÓµÄʱ¼ä¼ä¸ô¡£ÓйØÊýÖµ£¬Çë²ÎÔÄ“ÉèÖÔ²¿·Ö¡£ 
number: ±ØÑ¡¡£ÊýÖµ±í´ïʽ£¬±íʾҪÌí¼ÓµÄʱ¼ä¼ä¸ôµÄ¸öÊý¡£ÊýÖµ±í´ïʽ¿ÉÒÔÊÇÕýÊý£¨µÃµ½Î´À´µÄÈÕÆÚ£©»ò¸ºÊý£¨µÃµ½¹ýÈ¥µÄÈÕÆÚ£©¡£ 
date: ±ØÑ¡¡£Variant »òÒªÌí¼Ó interval µÄ±íʾÈÕÆÚµÄÎÄ×Ö¡£ 
interval ²ÎÊý¿ÉÒÔÓÐÒÔÏÂÖµ£º 
yyyy (Äê) ¡¢q (¼¾¶È) ¡¢m (ÔÂ) ¡¢y (Ò»ÄêµÄÈÕÊý) ¡¢d (ÈÕ) ¡¢w (Ò»ÖܵÄÈÕÊý) ¡¢ww (ÖÜ) ¡¢h (Сʱ) ¡¢n (·ÖÖÓ) ¡¢s (Ãë) 
˵Ã÷:¿ÉÓàDateAdd º¯Êý´ÓÈÕÆÚÖÐÌí¼Ó»ò¼õÈ¥Ö¸¶¨Ê±¼ä¼ä¸ô¡£ÀýÈç¿ÉÒÔʹÓàDateAdd ´Óµ±ÌìËãÆð 30 ÌìÒÔºóµÄÈÕÆÚ»ò´ÓÏÖÔÚËãÆð 45 ·ÖÖÓÒÔºóµÄʱ¼ä¡£ÒªÏò date Ìí¼ÓÒÔ“ÈՔΪµ¥Î»µÄʱ¼ä¼ä¸ô£¬¿ÉÒÔʹÓÓһÄêµÄÈÕÊý”£¨“y”£©¡¢&l


Ïà¹ØÎĵµ£º

ASPÈ¡Õûº¯Êý

 ´ó¼Ò¶¼ÖªµÀÔÚBASICÓïÑÔÖУ¬ÏµÍ³ÎªÎÒÃÇÌṩÁËÐí¶à±ê×¼º¯Êý£¬¶ø“È¡Õûº¯Êý”¾ÍÊÇÆäÖÐÒ»¸ö·Ç³£ÖØÒªµÄº¯Êý¡£
Ò»¡¢ “È¡Õûº¯Êý”µÄ¸ñʽºÍ¹¦ÄÜ¡£
1¡¢¸ñʽ£ºINT£¨X£©
2¡¢¹¦ÄÜ£ºÈ¡²»´óÓÚXµÄ×î´óÕûÊý
3¡¢ËµÃ÷£ºÆäÖÐINTΪº¯ÊýÃû£¬²»ÔÊÐí¸Ä±ä£¬XΪ×Ô±äÁ¿£¬ÆäÐÎʽ¶àÖÖ¶àÑù£¬¿ÉÒÔÊÇÊýÖµ³£Á¿¡¢ÊýÖµ±äÁ¿¡¢Êý ......

¹ØÓÚѧºÃasp¼°asp.netµÄ¾­Àú

      ¶ÔÓÚÒ»¸öÏëѧºÃASP¼°asp.netµÄ¹ýÀ´ÈËÀ´Ëµ,ѧϰµÄ¹ý³ÌÊÇÓÐȤ¼°ÕÛÄ¥È˵Ä,µ±Äã×ö³öµÚÒ»¸öʵÑéµÄʱºòÄãµÄÐÄÇéÊǼ¤¶¯µÄ,ÎÒÊDZÏÒµÒÔÀ´Ò»²½Ò»²½µÄ×Ôѧ¹ý³ÌÖÐ×ܽáÁËһЩºÃµÄ¾­ÑéÈÿ´µ½ÕâƪÎÄÕµÄÈËÉÙ×ßһЩÍä·,ÏÂÃæдµÄ¶¼ÊÇÕë¶Ô³õѧÕß,Ò²ÊÇÎÒ×Ô¼ºÊÇÔõô´ÓÁã»ù´¡µ½ÏÖÔÚ¿ÉÒÔ¿ª·¢Ò»Ð©¶«Î÷µÄ¹ý³Ì.
&nb ......

תAsp²Ù×÷DTS½øÐдú²ÎÊýµÄÊý¾Ýµ¼Èëµ¼³ö

Asp²Ù×÷DTS½øÐдú²ÎÊýµÄÊý¾Ýµ¼Èëµ¼³ö
ÄêÇ°½ÓÁËÒ»¸öСÏîÄ¿,ÆäÖÐÒ»²¿·ÖÊǽ«sqlÖеÄÊý¾Ý½øÐÐÓÐÑ¡ÔñµÄµ¼³öµ½Ò»¸ömdbÖС£
ÕâЩÊÇÍêÈ«¿ÉÒÔͨ¹ýaspµÃsqlÓï¾ä½øÐвÙ×÷µÄ£¬µ«ÊÇ»¹ÊÇÏë°ÑÖ÷Òªµ¼³öµÄÈÎÎñ½»¸øsql serverÈ¥×ö£¬aspÖ÷ÒªÊǵ÷¶¯Õâ¸ö³ÌÐò¶øÒÑ¡£
Ïëµ½ÒÔÇ°×ö¹ýµÄ¶«Î÷£¬¾õµÃʵÏÖÆðÀ´²¢²»ÄÑ£¬Ö»ÊÇÒ»¸ö²ÎÊýµÄÎÊÌâ¡£
¿ªÊ¼ÊµÏÖ£ ......

ASPѧϰ£¬Äã×¼±¸ºÃÁËÂð£¿

ÈçºÎÁîÄãµÄÍøÕ¾“¶¯¸ÐÊ®×ã”
ÄúµÄÍøÕ¾ÊÇ·ñÈÔÒ»Èç¼ÈÍùµØ±£³Ö“¾²Ì¬”£¿Ä¿Ç°³Ê¼¸ºÎÔö³¤µÄ»¥ÁªÍøÍøÕ¾ÖУ¬ÓÐÏ൱һ²¿·ÖÈÔ¹ÌÊØ“¾²Ì¬”£¬ÎÞÐÎÖÐÒÑ´ó´óÂäºóÓÚʱ´úµÄ²½·¥¡£Ëùν“¾²Ì¬”Ö¸µÄ¾ÍÊÇÍøÕ¾µÄÍøÒ³ÄÚÈÝ“¹Ì¶¨²»±ä”£¬µ±Óû§ä¯ÀÀÆ÷ͨ¹ý»¥ÁªÍøµÄHTTP£¨Hypertext Transpor ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ