Jump to content
Changes to the Jaspersoft community edition download ×

Convert unix time to Timestamp


leroyg

Recommended Posts

Hi

 

I am trying to convert a unix timestamp (a BigDecimal) to a java.sql.Timestamp.

 

Something like

Timestamp StartDate = new Timestamp(1155852000*1000)

 

Thanks

 

 

Not to worry, I'm using a static methods to achieve this.

Post edited by: leroyg, at: 2006/08/23 11:16

Link to comment
Share on other sites

  • 4 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...