CURRENT PROJECTS
loading
CATEGORIES AND POSTS
loading
DEVELOPMENT LOG FOR
JIM PALMER
Unix Timestamp in Coldfusion
Posted 03/07/2007 in
coldfusion
This is simple to do - and horrifically useful when using Coldfusion in line with Unix servers and other Unix-based scripting languages...
<cfset jDate = createObject("java", "java.util.Date")> <cfdump var="#jDate.getTime()#">
This should be self-explanitory - and useful. The Java core saves Coldfusion in the end AGAIN.
loading
NAME
no
yes
EMAIL ME ON UPDATES
EMAIL
(hidden)
URL
MESSAGE
TAGS ALLOWED: <code> <a> <pre class="code [tab4|tabX|inline|bash]"> <br>
PREVIEW COMMENT
TURING TEST
i am machine
i am human