Marco,
Here is a good site for doing this.
http://www.dpawson.co.uk/xsl/sect4/dateTime.html
I use Windows 2000, so here is my bat file.
Mike F.
Washington, DC
timestamp.bat
@echo off
echo. |date > datestamp.txt
echo. |time > timestamp.txt
START /W REGEDIT /E it_settings.txt "HKEY_CURRENT_USER\Control
Panel\International"
<!DOCTYPE xsl:stylesheet [
<!ENTITY timestamp SYSTEM "timestamp.txt">
<!ENTITY datestamp SYSTEM "datestamp.txt">
<!ENTITY it_settings SYSTEM "it_settings.txt">
<!ENTITY seal_ent SYSTEM "seal_ent.txt">
<!ENTITY dtd_path_1 SYSTEM "dtd_path_1.txt">
]>
--- Marco Antonio Dias Campelo <mcampelo_ibm(_at_)timbrasil(_dot_)com(_dot_)br>
wrote:
Just making the message below clear, this is the format I need:
YYYYMMDDhh24:mi
2004080316:07
Thanks,
Marco Campelo
-----Original Message-----
From: Marco Antonio Dias Campelo
Sent: Tuesday, August 03, 2004 4:06 PM
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
Subject: XSLT: Get timestamp
Hello Guys,
I have a requirement in my project which says that I have generate
a
timestamp (now()) inside my XSLT.
I searched newsgroups, google, books and tutorials, but I couldn't
find
a way to implement it.
What do you say?
Is it possible?
Or should I implement a extension to my XSLT engine?
Thanks in advance,
Marco Campelo
--+------------------------------------------------------------------
XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.
http://messenger.yahoo.com