Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Current Date

Hi.   I'm try to get the duration days from a column with a date and the current date. I'm use the function   But I have the error   Can you help me please    
  • edugoncalves's avatar
    5 years ago

    Hi Anonymous ,

    Please try this:

    Duration.Days (DateTime.Date(DateTime.LocalNow()) - [Fecha de apertura])

    You forgot a parenthesis on DateTime.LocalNow(). ‌😊

    Best Regards,

    Eduardo