77家的会客2010

日归档: 2005年09月15日 | 记录数: 3
比较两个日期的相差天数
Weather:中到大雨 ,南风 5-6级 ,最高气温24 ℃

比较两个日期的相差天数
response.write DateDiff("d",Date(),"01-07,07") 

date()今天的日期 

DateDiff 函数

返回 Variant (Long) 的值,表示两个指定日期间的时间间隔数目。

语法

DateDiff(interval, date1, date2[, firstdayofweek][, firs...

弹出打印窗口,去掉网址显示
Weather:中雨,南风5-6级,最高气温24 ℃
<OBJECT  id=factory  style="DISPLAY:  none" codeBase=http://www.meadroid.com/scriptx/ScriptX.cab#Version=5,60,0,360 
classid=clsid:1663ed61-23eb-11d2-b92f-008048fdd814  viewastext></OBJECT>
<script  defer>
function  window.onload()  {
    factory.printing.header  =  "-&q...
asp template 1.5
Weather:多云,南风4-5级,最低气温18 ℃

Tokens And Variable Types
Tokens
As presented before, the key to separating the content from code is producing templates that have placeholders (tokens) for the dynamic data within the HTML and other static text. I've always used [% and %] to delimit my tokens from the rest of the code. Tokens are by default case insensitive, so