Nov 9, 2012 #1 bonio16 Technical User Nov 9, 2012 2 GB Hi, I need to know how in business object i can calculate the days months and years between 2 dates? eg - Date 1 - 07/11/2014 Date 2 - 12/04/1958 Thanks
Hi, I need to know how in business object i can calculate the days months and years between 2 dates? eg - Date 1 - 07/11/2014 Date 2 - 12/04/1958 Thanks
Nov 9, 2012 #2 S SkipVought Programmer Dec 4, 2001 47,489 US hi, So is that dd/mm/yyyy or mm/dd/yyyy. The former, I expect as you are across the pond from The Colonies. ;-) Skip, Just traded in my old subtlety... for a NUANCE! Upvote 0 Downvote
hi, So is that dd/mm/yyyy or mm/dd/yyyy. The former, I expect as you are across the pond from The Colonies. ;-) Skip, Just traded in my old subtlety... for a NUANCE!
Nov 9, 2012 Thread starter #3 bonio16 Technical User Nov 9, 2012 2 GB Hi Skip It's DD/MM/YYYY. Thanks Upvote 0 Downvote
Nov 14, 2012 #4 Charliy Programmer Aug 12, 2008 601 US What you're looking for is DateDiff. It can return the number of days or years or whatver unit you want between two dates. Datediff('d',{date1},{date2}) would give you the number of days between the two dates. Upvote 0 Downvote
What you're looking for is DateDiff. It can return the number of days or years or whatver unit you want between two dates. Datediff('d',{date1},{date2}) would give you the number of days between the two dates.