|
|
|
การคำนวนวันที่ ที่ส่งไปแล้วเก็บใส่ตัวแปล ก่อนเก็บลงดาตาเบส |
|
|
|
|
|
|
|
Code (ASP)
<%
Response.write Date&"<br>"
Response.write DateDiff("d","09/01/2008","09/04/2008")&"<br>"
Response.write DateDiff("m","09/01/2008","11/04/2008")&"<br>"
Response.write DateDiff("n","08:30","12:00")&"<br>"
Response.write DateDiff("h","08:30","15:30")&"<br>"
%>
Go to : ASP/VBScript DateDiff()
|
|
|
|
|
Date :
2010-08-20 11:48:42 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
แล้วจะเก็บค่าใสตัวแปลยังไงล่ะครับ
|
|
|
|
|
Date :
2010-08-20 13:37:02 |
By :
e_tawee |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 05
|