Calculation of time with FormCalc
Hello!
I am trying to create a simple time sheet form in the designer, but things don't seem to work in the way that I expected.
I have two time fields where users are supposed to inform the hours start and end time for a job. A third hour field must display the elapsed time.
So, I tried to solve this problem with FormCalc:
var interval = 0
interval = Time2Num (endTime.formattedValue, "HH: mm")-Time2Num (startTime.formattedValue, "HH: mm")
$.formattedValue = Num2Time (interval, "HH: mm")
It does not work. I mean, if I inform startTime = 10:00 and endTime = 11:00, the result is 23:00. How is it?
Now, if I inform startTime = 09:00 and endTime = 11:00, the result is 00:00. Huh?
Please, could someone tell me what I'm doing wrong here?
Greetings of the season!
Marcos
Hello
Check this thread.
It describes a solution for this kind of calculation.
http://forums.Adobe.com/message/4054814#4054814
Tags: Adobe LiveCycle
Similar Questions
-
How to read 4 similar channels at the same time with the MCC
Hello
with the mcc libraries and a card PCi-6034 classic (by calculation of the measure), I want to read 4 analog channels at the same time. I have a "scope" with 4 channels. How to read 4 channels at the same time with the mcc?
MF
Hello MF.
Thank you for using OR support. I guess you try to program in LabVIEW. Where exactly did you get the MCC library of?
-
I need to know how to read my DVDs on quick time with an extension xvid.avi
I need to know how to read my DVDs on quick time with an extension xvid.avi
You have not because QuickTime Player does not support the xvid .avi formats or dvi. You can download the free VLC media player and she plays very well this .avi.
-
See the time with the date in the cell?
How do you not see time with the date in a cell? I tried all the settings I can find but without success.
Using the numbers from version 3.6.2 (2577) - OS: El Cap 10.11.6
I don't want to see that 12:00:00 AM
Hi Russ,
Inspector to format > cell, the parameters as shown below:
Kind regards
Barry
-
I am trying to sync my contacts from my iPhone to my new computer email how I do I plugged my phone into my computer and he asked to do everything but synchronize the contacts that I have a hard time with 10 windows, that's for the younger generation
If you synchronize contacts using iCloud, you cannot synchronize them in iTunes. More information would be useful.
-
In the past, I used to reload a page several times with just one press the F5 key, with pressing long it charge more often, now long or short by pressing the F5 key is sufficient to reload a page or two times
OK guys, I found the problem, it was because I had MCAFEE Advisor which limited my refreshes, but when I disabled it, everything is back to normal, loool
-
Since the installation on my Windows 7 64 - bit installed, Firefox has constantly gotten slow that hour passes, hangs for 10-15 seconds at a time and just gets worse over time with updates and all. It was fast when I installed first, but of the six latest mos has slown to a crawl.
upgrade your browser Firefox 8 and try
-
MY wife just brought a second hand 5 c 16 GB phone cash converters. Everything works fine except the date and time. It will not update and the clock does not move. All location-based services are switch on and I tried to set it manually. When I do work for a few minutes and then stops. The phone would update latest version before we he restored from a previous phones settings. Apple think it might be a hardware problem and suggest that to consider return. Until I do, anyone met this before.
TIm
I don't know if I can offer any help, but I think it's pure coincidence that this problem could arise the same day in the forum. Here's another user having the same problem.
Time with my iphone 5 c problems
I've never seen someone post this topic before.
-
can I take my time with me capsule to use as an external drive?
I will be away for several months, taking only my laptop. All my work files are on the Big Mac, who will not be with me. If I take the capsule of time with me, I can access all the backup files as if I had to access the Big Mac?
IMHO that's a great way to do things.
Transport CANADA is much more fragile than a cheap USB portable 2 TB drive.
In addition, your files can be difficult to obtain at a TM backup.
Copy all the files you need on the portable player of 2 TB. I would recommend that you partition so that you can also use it for backups that you travel. They are self-powered of almost any Mac laptop... neat, quick and good light cheap for transporting.
If you buy one of the best... robust... but I like the Toshiba brand... or buy LaCie Robust.
-
Why can't acquire data from strain and resistance at the same time with a NI 9219 module?
Hello
I use a chassis with a NI9219 module 9172 cDAQ to try to acquire the strain and resistance at the same time, with the Labview SignalExpress software. Is this possible? When I try to display two values of signal at the same time, I get an error of assistant DAQ 50103 'the specified resource is reserved. The operation could not be performed as indicated. I used to be able to acquire the strain and tension at the same time, but now even that gives me error 50103. I have hours trying to figure this out. Any help would be greatly appreciated.
Thank you
Justin
That's all! Thank you very much, now I can sleep tonight - seriously!
Thanks again,
Justin
-
I can't access my hotmail as it suggests I tried too many times with an incorrect password. I have reset the password by the presence of a link sent to another and also have an sms on my mobile phone code. Nothing works!
original title: I can't access my hotmail accountCarpeDiem44,
Please join the Windows Live experts in the Windows Live Solution Center community to try to regain access to your Hotmail account. The link below will take you directly to their forum for security account.
Windows Live Solution Center - Windows Live ID. -
I installed KB263380 KB2572073 and KB2518864 three times with success; However, I get the yellow shield saying that I need to update to Windows XP
I ran the Mr Fixit for this problem, and briefly, the yellow shield disappeared, I thought that it worked. But as soon as I clicked the solution worked and Mr. Fixit was gone, the yellow shield came back and said that I have to update these once again.Thanks for the article. The icon stopped appearing after the third time I've updated from Windows. Someone must have solved the problem to Microsoft. I did nothing except reboot several times. Finally, the Update icon went in itself.
-
I can't connect to my email. someone tried too many times with an incorrect password. When I try to reset my email it doesn't let me, someones tried too many times also. I know that my question of password and security. What can I do?
original title: unable to connect to my email.Hello
Answers is a peer group supported and unfortunately has no real influence on Hotmail.
HotMail has its own Forums, so you can ask your questions there.
Windows Live Solution Center - HotMail - HotMail Forums Solutions
http://windowslivehelp.com/Hotmail - Forums
http://windowslivehelp.com/forums.aspx?ProductID=1Hotmail - Solutions
http://windowslivehelp.com/solutions.aspx?ProductID=1How to contact Windows Live Hotmail Support
http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htmWindows Live Hotmail Top issues and Support information
http://support.Microsoft.com/kb/316659/en-usCompromised account - access unauthorized account - how to recover your account
http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41Hotmail hacked? Take these steps
http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspxI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">->
-
Original title: error code [0 x 80070424]
My security alerts continues to tell me that the automatic updates are disabled. I check in the Security Center, and they are in position "on", but it won't download updates. When I go to the Microsoft website to update directly, I get a message says "the site is unavailable at this time" with the error code [0 x 80070424]. Microsoft doesn't even have it classified as a potential error code. I checked the status of the Fund Manager and it is set to "Auto" and it is started, but does not resolve the issue.
Hello
You did changes to the computer before this problem?
Try the troubleshooting provided in the article below steps and check if it helps.
Error message when you use Microsoft Update or Windows Update Web sites to install updates: 0 x 80070424
http://support.Microsoft.com/kb/968002 -
I have a Dell Vostro 420 - Windows XP. Microsoft SQL Server 2005 Express Edition Service Pack 4 (KB2463332) failed to install several times with an error Code: 0xD59. Please help me understand this and get this installed!
Hello
Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for SQL server support. Please post your question in the Sub forum.
Link: http://social.msdn.microsoft.com/Forums/en/sqlsetupandupgrade/threads
For reference: how to solve the packets missing MSI or MSP during SQL Server Service Packs, hotfixes or cumulative updates: http://support.microsoft.com/kb/2015100
Maybe you are looking for
-
I'm having a problem with a listbox in 7.1.1. I have 'item 1' game selection mode. Sometimes the item highlighted in the list box is changed manually with a mouse click, and sometimes it is changed programmatically. My problem is that sometimes sha
-
Sizing of the 50 orders/lights on the front panel to look like
Hello I have 50 rectangular bollean indicators on the front panel. For some reason, the sizes of a few indicators are slightly different from the others. If I resize with the mouse it oversizes it. Can't think of an intuitive method to achieve this.
-
Aspire E5-521 - 625 B update after Windows 10
Good morning - first post here... Laptop came with Win8.1 and I followed the instructions to upgrade onsite at Win10. Seemed to go well. On the Acer site for driver updates etc check, I noticed that there is a BIOS update available (v1.04). It is rec
-
HP Pavilion dv6707us webcam corrupted by Vista updates.
My HP Pavilion dv6707us says «unrecognized webcam» I tried the driver updates - but because the webcam is not recognized - it can not download updates. I read online that this was due to the automatic updates of Windows Vista (Home Premium). How c
-
Cannot start the HP printing software (HP OfficeJet Pro 8500 A910a)
Hello When I double-click the icon of the HP software on my desktop behavior strange results. Nothing opens and my computer behaves erratically. After a while I get the following error messages: instancefinderdlg.exe werfault.exe Then after that - my