Die Methode DateTime.AddBusinessDays in C# fügt einer gegebenen Zeit einen bestimmten Betrag von Arbeitstagen hinzu und gibt das Ergebnis zurück. Diese Funktion ist besonders nützlich, wenn Arbeitszeiten oder Geschäftstage berücksichtigt werden müssen, um beispielsweise das Datum für den Abschluss eines Projekts oder den Versand von Bestellungen zu berechnen. Die Methode berücksichtigt dabei Wochenenden und Feiertage nicht als Arbeitstage. Der Rückgabewert ist das Datum, das sich ergibt, nachdem die angegebene Anzahl von Arbeitstagen zu der gegebenen Zeit hinzugefügt wurde.
C# (CSharp) DateTime.AddBusinessDays - 30 Beispiele gefunden. Dies sind die am besten bewerteten C# (CSharp) Beispiele für die DateTime.AddBusinessDays vom Programmpaket peachpie, die aus Open Source-Projekten extrahiert wurden. Sie können Beispiele bewerten, um die Qualität der Beispiele zu verbessern.