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À´±à³Ì£¬¶øÄÇЩ½Å±¾ÓïÑÔÊôÓÚÈõÀàÐÍ¡¢ÃæÏò½á¹¹µÄ±à³ÌÓïÑÔ£¬¶ø·ÇÃæÏò¶ÔÏó£¬Õâ¾ÍÃ÷Ï ......
×î½ü°ï±ðÈË´¦ÀíÏÂÊý¾Ý,·¢ÏÖÌí¼ÓÊý¾Ýʱ,¾ÍÌáʾ"ASP ²»ÄܸüС£Êý¾Ý¿â»ò¶ÔÏóΪֻ¶Á¡£",´ÓÍøÉÏÕÒÁË,ҲûÓнâ¾öÎÒµÄÎÊÌâ.
1¡¢·þÎñÆ÷µÄÊý¾ÝĿ¼mdbÎļþËùÔÚµÄĿ¼£¬ÊÇÖ»¶ÁµÄ
2¡¢Êý¾Ý¿âÔÚ±¾µØµÄȨÏÞ£¬È¥Ö»¶ÁȨÏÞ£¬ÔÙÉÏ´«
3¡¢ÓпÉÄÜÄãÊÇ´ÓÖ»¶ÁĿ¼Òƶ¯µ½¿É¶ÁĿ¼µÄ£¬ËùÒÔÒ»¶¨²»ÄÜÕâôÓã¬ÏÈϵ½±¾µØ£¬ÔÙÉÏ´«£¬¿É½â¾ö´ËÀàÎÊ ......
Try
Dim Path As String = Server.MapPath("~/Download/") 'Îļþ·¾¶
Path = Path & "file.txt" 'ÎļþµÄÃû³Æ
......
Ö»ÐèÒªÔÚfckeditor\editor\filemanager\connectors\aspÎļþ¼ÐϵÄcommands.aspÐÞ¸Äһϼ´¿É
ÔÚÕâ¸öÎļþÖвéÕÒһϣºFileUpload
»áÕÒµ½Õâ¸öº¯Êý
°Ñ
´úÂëÈçÏÂ:
Dim sFilePath
sFilePath = CombineLocalPaths(sServerDir, sFileName)
¸ÄΪ
´úÂëÈçÏÂ:
Dim sFilePath,ranNum
Randomize
ranNum=int(90000*rnd)+ ......