⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Leave Day Calculation between two date



likhon3k
  • profile picture
  • Member

Posted 17 May 2013 - 19:16 PM

I am using GC from few months. I am really pleased to get this library. Thank You all of the team member of GC for this library.

 

I want to ask a question about date calculation.

 

I neet to make a page for leave management. there will be two date information like:

 

Table: Leave Manaement.

 

Fields:  From Date-- To Date -- Total Leave

 

 

can any one temm me how can I calculate the "Total Leve" from (To date-From Date) here - is minus.

 

When Some one apply to a leave applicaiton and when will he/she select "from date" and "to date" then automaticaly calculated the leave day in total leave.

 

if any one can give me the solution.

 

thanks.


davidoster
  • profile picture
  • Member

Posted 17 May 2013 - 23:37 PM

I believe this will help you out.