You can invoke:
public String format(String formatString)
on the CSpDatetime and get the format that would impress your boss. It gives
you ample options.
Alternatively, If I were using Oracle, I would consider using TO_CHAR(...)
on the backend. If you are binding the field it might mean a lot less work.
Regards,
Aby
> -----Original Message-----
> From: Feeley, Roger [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 22, 1999 9:21 AM
> To: [EMAIL PROTECTED]
> Subject: [ND] Apply time format to an HREF
>
>
> I have a datetime field on a page that I have converted to an HREF.
> Unfortunately, now I can't apply formatting to it as I would to a simple
> text field so I am getting the time all the way down to milliseconds. My
> boss is unimpressed. Can somebody offer a hint?
>
> Many thanks,
>
> Roger Feeley
> Bridge Information
> _________________________________________________________________________
>
> For help in using, subscribing, and unsubscribing to the discussion
> forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
> For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]