Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

alvarogarridoz
alvarogarridoz
Offline

Badges

Badges
1

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
1

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by alvarogarridoz
Customize the badges you want to showcase on your profile
Re: How to calculate worked hours from time fields? - Adobe LiveCycle 26-02-2010
In Javascript the Date object can also deal with time. To do date or time arithmetic you need to convertthe input values into a standard time (valueOf returns the number of milliseconds between midnight Jan1, 1970 and the Date and time set in the object). If all input are set this way then subtracting the two times that you want would yield you a result in millioseconds then you can convert that to the appropriate units that you want.If you are new to Javascript then this might be a bit much.......

Views

91

Likes

0

Replies

0