<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Calculate fields base on value of other fields</title><link>https://www.infopathdev.com:443/forums/thread/124852.aspx</link><pubDate>Wed, 13 Apr 2022 14:44:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124852</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124852.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124852</wfw:commentRss><description>See attached - rule is on field80</description></item><item><title>Re: Calculate fields base on value of other fields</title><link>https://www.infopathdev.com:443/forums/thread/124851.aspx</link><pubDate>Wed, 13 Apr 2022 14:34:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124851</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124851.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124851</wfw:commentRss><description>My initial reply was that you should DateDiff if you were using FormsViewer - I now see that you are just subtracting one time from the other. So - on your working hours field, you could add rules to set the total and OT based on the date. I&amp;#39;ll modify your sample here shortly &amp;amp; attach.</description></item><item><title>Calculate fields base on value of other fields</title><link>https://www.infopathdev.com:443/forums/thread/124848.aspx</link><pubDate>Tue, 12 Apr 2022 10:10:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124848</guid><dc:creator>hainh1984</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124848.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124848</wfw:commentRss><description>Dear Support team,

Could you please help me this issue:
- I have timesheet form with Timein &amp;amp; Timeout
- Working day is from Monday - Saturday, Sunday is off. Working hours is 8h/day ( 12-13h is lunch time)
- With Saturday, working hours  from 8:30 AM - 12:30 PM = 4 Hours

My issue: 
Ex: in Saturday, if staff working more than 4 hours, can it calculate the rest hours to OT

Ex: 8:30AM - 15:30 PM = 6 hours, I want it devices Total Hours = 4h and OT = 2.

I attached my Form in this post. 

Appreciate for your help.
Regards,
Hai Nguyen</description></item></channel></rss>