convertFormsdateToCII
Methode (Function) · gibt String zurück
convertFormsdateToCII ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK.
Beschreibung (Originaltext der englischen SDK-Dokumentation): Converts a date string in format dd.MM.yyyy (or any format accepted by convertUBLdateToCII) to the CII format 102 (YYYYMMDD).
Rückgabe: The date as YYYYMMDD; 00010101 if the string cannot be parsed.
Deklaration
Public Function convertFormsdateToCII(ByVal FormDate As String) As String
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
FormDate | String | erforderlich | Date string, e.g. 31.12.2024. |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, "IHR-LIZENZSCHLUESSEL")
Dim FormDate As String = ""
Dim ergebnis = alo.convertFormsdateToCII(FormDate)
Aufruf (C#)
var zfStandard = Aloaha_ZUGFeRD.iXML.ZUGFeRDVersion.xInvoice; // Optional ByRef im Konstruktor: in C# mit ref übergeben
var alo = new Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, false, "IHR-LIZENZSCHLUESSEL", ref zfStandard);
string formDate = "";
var ergebnis = alo.convertFormsdateToCII(formDate);