you can write a little helper tool to do it:

public MyDateTool {
  public Date format(int oracleDate) {
     //TODO: the actual conversion here
  }
}

or use this one:
http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/generic/DateTool.html

On 11/7/07, JoseBovet <[EMAIL PROTECTED]> wrote:
>
> hi guy's
>
>
> I have a  problem with a date format,
> I need format a Integer to Date  or Integer to String
> a example:
>
> int number1 20070101 to date format (01-01-2007)
> or
>
> int number1 20070101 to String format (01-01-2007)
>
> number1 is get for  method in a DB oracle!!!
>
>
> greetingsĀ°
>
>
>
> --
> View this message in context: 
> http://www.nabble.com/I-need-help-with-date-format-tf4767519.html#a13636581
> Sent from the Velocity - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to