Created
November 6, 2015 18:03
-
-
Save renoirtech/3cfd7241295cce97fd70 to your computer and use it in GitHub Desktop.
SCRIPT que corrige a lentidão de atualização do cache.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function LZ(ByVal Number) | |
If Number < 10 Then | |
LZ = "0" & CStr(Number) | |
Else | |
LZ = CStr(Number) | |
End If | |
End Function | |
Function TimeStamp | |
Dim CurrTime | |
CurrTime = Now() | |
TimeStamp = CStr(Year(CurrTime)) & "-" _ | |
& LZ(Month(CurrTime)) & "-" _ | |
& LZ(Day(CurrTime)) & " " _ | |
& LZ(Hour(CurrTime)) & ":" _ | |
& LZ(Minute(CurrTime)) & ":" _ | |
& LZ(Second(CurrTime)) | |
End Function | |
'modelo de include no html | |
'<script src="../Html/SACIT00000s0.js?<%=Escape(TimeStamp()) %>" type="text/javascript"></script> | |
'<script src="../Html/SACIT00010s0.js?<%=Escape(TimeStamp()) %>" type="text/javascript"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment