77家的会客2010

比较两个日期的相差天数
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

多爱,不是黄蓉的王蓉
Weather:阵雨,东北风6-7级,最高气温25 ℃

  初识王蓉,是因为她那首朗朗上口的《我不是黄蓉》,至今仍被人传唱大街小巷,不知道不觉中喜欢上了这个“不是黄蓉”的声音,那种古怪精灵的感觉,但是声音又不缺乏质感,很耐听的那种~

  今天无意中发现自己的电脑上有个文件夹,叫《多爱》一看里面是几首歌,但是没有歌手,MP3的info里面也没有,于...

ColdFusion在线人数统计
Weather:晴,北风4-5级,最高气温25 ℃
<cfif NOT IsDefined("Application.online")>
      <cfset Application.online=ArrayNew(1)>
</cfif>
<cfscript>
      trace = false;//调试信息
      outtime = 20;//保存时间(分种)
      online_guests = 0;//过路人数<...