0

Stichtag aus Datum + 70 Jahre berechnen

Hallo zusammen,

ich stelle in einer Tabelle Komponisten zusammen und möchte gerne das Datum errechnen, ab dem die Werke rechtefrei sind. Dazu muss ich 70 Jahre zu dem Todestag rechnen, welchen ich in einem Datumsfeld erfasst habe. Leider komme ich mit meinen Excel Kenntnissen hier nicht weiter.

Mit der Bitte um Hilfe grüßt

Max

3 Antworten

null
    • Fred
    • vor 7 Tagen
    • Gemeldet - anzeigen

    You can try using the date() command:

    date(year(deathdatefield)+70,month(deathdatefield),day(deathdatefield))

    We also have to use the year(), month() and day() commands to break apart the deathdatefield. You can see we can simply add 70 to the year() part and Ninox will do the math for us. Then we add in the month and day and we have a data that is 70 years in the future.

      • Geschäftsführender Gesellschafter
      • Maximilian_March
      • vor 7 Tagen
      • Gemeldet - anzeigen

       Thank you! This works just excellent. I just started today with a new ninox project and have not been working on the database for years. It is good to know, that the supporting community still is excellent! 

      • Fred
      • vor 7 Tagen
      • Gemeldet - anzeigen

       I'm glad it worked. When you have a moment, please mark the post "answered".

Content aside

  • vor 7 TagenZuletzt aktiv
  • 3Antworten
  • 20Ansichten
  • 2 Folge bereits