struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Kelly" <>
Subject [OT - a bit] Changing a date from hh:mm:ss to number of milliseconds since 1970
Date Wed, 26 Mar 2003 14:28:15 GMT

Does anyone know of a way of doing this convertion in Java or in struts for
that matter?  My db needs the milliseconds, rounded to seconds and I'm
asking the user for a date in the normal format.  As a *major* not, I can't
do the convertion client side as I have to keep the output to them as dumb
as possible (ie pure html only, *NO* JavaScripts or the like :-( )

Any pointers would be appreciated.



Institut fuer
und Elektronik,
Forschungszentrum Karlsruhe GmbH,
Postfach 3640,
D-76021 Karlsruhe,

Tel: (+49)/7247 82-4042
E-mail :

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message