asp now() º¯Êý¸ñʽÎÊÌâ
±¾½â¾ö·½·¨Õª×ÔÍøÂçÎÄÕ£¬ÒѾÑéÖ¤¿ÉÐС£
ÐÂÉϵÄһ̨·þÎñÆ÷³öÏÖÁËÒ»¸öÏÖÏó£ºASP³ÌÐòÖУ¬µ÷Óú¯ÊýNow()£¬ÏÔʾµÄʱ¼ä×ÜÊÇÐÎÈç“2009-07-12 ÉÏÎç 08:12:56¡¡”ÕâÑùµÄ£¬×ÜÏÔʾ“ÉÏÎ町͓ÏÂÎ産¬µ¼ÖÂÊý¾Ý¿â²åÈë²Ù×÷Òì³££¬½â¾ö¹ý³Ì¼°×îÖÕ½â¾ö·½·¨ÈçÏ£º
ÕâôÏÔʾ£¬Ò»°ã¶¼ÊÇÒòΪ·þÎñÆ÷¾ÍÊÇÈç´ËÉèÖõģ¬ÏȲ鿴ʱ¼ä¸ñʽ£ºÖ±½ÓË«»÷ÈÎÎñÀ¸ÖÐʱ¼ä£¬ÔÚµ¯³öµÄ“ʱ¼äºÍÈÕÆÚ”ÖйûÈ»ÏÔʾÁËÉÏÎçÏÂÎçÕâÑùµÄ×ÖÑù£¬ÄǾͽøÈëÏÂÒ»²½ÉèÖã»
´ò¿ª¿ØÖÆÃæ°å£¬Ñ¡Ôñ“ÇøÓòºÍÓïÑÔÑ¡Ï¬ÔÚ“ÇøÓòÑ¡Ïî”ÖÐÑ¡Ôñ×Ô¶¨Ò壬ѡÔñ“ʱ¼ä”±êÇ©£¬½«Ê±¼ä¸ñʽÉèÖÃΪ“H:mm:ss¡¡”¼´24СʱÖÆʱ¼ä£¬½«ÏÂÃæµÄAM·ûºÅºÍPM·ûºÅºóµÄÖµÇå¿Õ£¬µ¥»÷“È·¶¨”±£´æÉèÖã»
´ËʱÔÙ´ò¿ª“ʱ¼äºÍÈÕÆÚ”£¬Ê±¼äÖÐÒѾ²»ÏÔʾÉÏÎçºÍÏÂÎçµÄ×ÖÑùÁË£¬½øÈëÏÂÒ»²½¼ìÑ飻
ÖØÆôIISºó£¬Ö´ÐÐASPº¯ÊýNow()£¬½á¹ûÈÃÎÒºÜʧÍû£¬»¹ÊÇÏÔʾÁË´ó´óµÄ“ÏÂÎç”Á½¸ö×Ö£¬ÄÇÏÖÔھͲ»ÊÇÕâ¸öÎÊÌâÁË£¬Ó¦¸Ã¾ÍÊÇûÓÐʹÓÃϵͳÇøÓòÉèÖõÄʱ¼ä£»
Ç¿ÖÆASPʱ¼äʹÓÃʹÓÃÇøÓòÉèÖÃÀïÃæµÄʱ¼ä¸ñʽ£¬·½·¨ÈçÏ£º´ò¿ª×¢²á±í±à¼Æ÷£¬½øÈëHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\£¬½¨Á¢OLEAUTµÄÏÔÚ¸ÃÏîϽ¨Á¢Ãû³ÆΪ“VarConversionLocaleSetting”µÄDWORDÖµ£¬Êý¾ÝÉèÖÃΪ2£¬ÉèÖÃÍê³ÉºóÍ˳ö×¢²á±í±à¼Æ÷£»
ÖØÆôIISºó£¬ÔٴβâÊÔASPº¯ÊýNow()£¬ÏÖÔÚÒѾ³É¹¦µÄ²»ÔÙÏÔʾ¸ÃËÀµÄ“ÉÏÎ甓ÏÂÎç”×ÖÑùÁË¡£
Ïà¹ØÎĵµ£º
VBSÀ³¬³öIntegerÀàÐ͵ÄÈ¡Öµ·¶Î§£¬¸ÃÀàÐ͵ÄÈ¡Öµ·¶Î§Îª-32,768 µ½ 32,767 Ö®¼äµÄÕûÊý¡£
³ö´íµÄ¸ùÔ´£º
ÔÚASPÀÓÐʱºòΪÁË·ÂÖ¹×¢È룬ËùÒÔÔÚ½ÓÊÕ²ÎÊýµÄʱºòÖ±½ÓʹÓÃCintº¯Êý°Ñ½Ó¹ýÀ´µÄ²ÎÊýת»»ÎªInteger£¨Êý×Ö£©ÀàÐÍ£¬Õâ¾Í´æÔÚÒ»¸öDZÔÚÎÊÌ⣬µ±Ò³Ãæ½ÓÊÕµÄij¸ö²ÎÊý£¨Request("xxx")£©³¬¹ýÈ¡Öµ·¶Î§Ê±£¨¿É¼òµ¥Àí½âΪ5λÊý×Ö£ ......
»ú¹¹Ãû³Æ£º ÈÕÆÚ£º2009 - 09 - 14 ²é¿´´ÎÊý£º
334 ´Î
ASP.NetºÍASPµÄ×î´óÇø±ðÔÚÓÚ±à³Ì˼άµÄת»»£¬¶ø²»½ö½öÔÚÓÚ¹¦ÄܵÄÔöÇ¿¡£ASPʹÓÃVBS/JSÕâÑùµÄ½Å±¾ÓïÑÔ»ìºÏhtmlÀ´±à³Ì£¬¶øÄÇЩ½Å±¾ÓïÑÔÊôÓÚÈõÀàÐÍ¡¢ÃæÏò½á¹¹µÄ±à³ÌÓïÑÔ£¬¶ø·ÇÃæÏò¶ÔÏó£¬Õâ¾ÍÃ÷Ï ......
<%
Function getHTTPPage(url)
On Error Resume Next
dim http
set http=Server.createobject("Microsoft.XMLHTTP")
Http.open "GET",url,false
Http.send()
if Http.readystate<>4 then
exit function
end if
getHTTPPage=bytesToBSTR(Http.responseBody,"GB2312")
set http=not ......
ÏÖÔÚÖ÷Á÷µÄÍøÕ¾¿ª·¢ÓïÑÔÎÞÍâºõasp¡¢php¡¢asp.net¡¢jspµÈ¡£
ÍøÒ³´Ó¿ªÊ¼¼òµ¥µÄhmtlµ½¸´ÔӵķþÎñÓïÑÔ£¬×ß¹ýÁË10¶à¸öÄêÍ·£¬¸÷ÖÖ¼¼Êõ²ã³ö²»Çµ¥¸öµÄÖ÷Á÷¼¼ÊõÒ²ÔÚ²»¶Ï·Ðµİ汾£¬ÏÖÔÚ·ÖÎöϸ÷ÖÖÓïÑÔµÄÇø±ð¡¢ÓÅÊÆ¡¢ÁÓÊÆ¡¢¿ª·¢×¢ÒâÊÂÏ
HTML:µ±È»ÕâÊÇÍøÒ³×î»ù±¾µÄÓïÑÔ,ÿһ¸ö·þÎñÆ÷ÓïÑÔ¶¼ÐèÒªËüµÄÖ§³Ö,Ҫѧϰ,Õâ¸ö¿Ï¶¨ÊÇ¿ªÊ¼ ......