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

joshm2863114
joshm2863114
Offline

Badges

Badges
2

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
2

Discussions

Discussions
0

Questions

Questions
2

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by joshm2863114
Customize the badges you want to showcase on your profile
Re: FormCalc Newbie, Time Difference Equation - Adobe LiveCycle 05-02-2015
Ok, so I changed it up to the equation below, but now if the difference is calculated between two times on the same day (GMT), it is one minute off. But if the difference is between two times on different 'days' (once again, all times GMT), it is correct. Any advice?var startT = ON_DUTY_TIME.formattedValuevar endT = OFF_DUTY_TIME.formattedValuevar differenceT = Time2Num(endT, "HH:MM") - Time2Num(startT, "HH:MM")$ = Num2GMTime(differenceT, "HH:MM")

Views

206

Likes

0

Replies

0
FormCalc Newbie, Time Difference Equation - Adobe LiveCycle 04-02-2015
Hey everyone, I'm pretty green when it comes to this stuff but I'm trying to figure this out so I'm reaching out here. I'm trying to develop an equation in FormCalc that will calculate the difference, in hours, between two times. The times will be entered in GMT and I have the equation below, so far, that works but the problem is when the second (OFF_DUTY_TIME) is beyond 24:00, such as 02:30. Any insights or suggestions?What I have so far:if (HasValue (OFF_DUTY_TIME) and HasValue (ON_DUTY_TIME))...

Views

679

Likes

0

Replies

2