Jump to content

Sum java.util.Date ?


Recommended Posts

By: Eric Tan - neltan

Sum java.util.Date ?

2003-04-13 19:44

How can I sum the java.util.Date ?

Data are in HH:mm:ss format.

 

Because I get error:

 

1. Only variables that hold java.lang.Number compatible values can be used to calculate the Count, Sum, Average, Standard Deviation or Variance.

at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:497)

 

 

 

 

 

 

By: Teodor Danciu - teodord

RE: Sum java.util.Date ?

2003-04-14 02:04

 

Hi,

 

My question to you is how would you sum up

two java.util.Date values in general?

 

What should be the result of summing up

 

August 15th 2001

 

with

 

November 21 2003?

 

Thank you,

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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...