This command retrieves a DateTime object, but it displays only the date.
Mit diesem Befehl wird ein DateTime-Objekt abgerufen, doch nur das Datum angezeigt.
It returns a DateTime object with the current date.
Gets a DateTime object that is set to the current date and time on this computer.
Ruft ein DateTime Objekt ab, das auf das aktuelle Datum und die aktuelle Uhrzeit dieses Computers gesetzt ist.
Sets a new timezone for a DateTime object.
Returns the month of the current DateTime object.
Because Add-Content uses the ToString() method of the DateTime object, the date that is added is in short-date and short-time format.
Da Add-Content die ToString ()-Methode des DateTime-Objekts verwendet, weist das hinzugefügte Datum das kurze Format für Datum und Uhrzeit auf.
DateTime object comparison with the comparison operators changed to work as expected.
DateTime-Objekt im Vergleich mit den Vergleichs-Operatoren funktioniert nun so wie erwartet.
An exception is raised if the string cannot be converted to a DateTime object.
Wenn der String nicht in ein DateTime-Objekt konvertiert werden kann, wird eine Ausnahme ausgegeben.
We don't want the normal display of the DateTime object that is shown here because it is too long and has characters that are not allowed for a folder name.
Wir möchten nicht die normale Anzeige des DateTime-Objekt, die hier angezeigt wird, da Sie zu lang ist und enthält Zeichen, die für einen Ordnernamen nicht zulässig sind.
This command gets a DateTime object and displays the current date and time in the long date and long time formats for the system locale, as though you typed get-date -format F.
Mit diesem Befehl wird ein DateTime-Objekt abgerufen, und das aktuelle Datum sowie die aktuelle Uhrzeit werden im langen Datums- bzw. Uhrzeitformat für das Systemgebietsschema angezeigt. Dies entspricht der Eingabe von get-date -format F.
For example, the following sample string values would be converted successfully to a DateTime object
So würden die folgenden Beispiel-Stringwerte etwa erfolgreich in ein DateTime-Objekt konvertiert
This command converts the current date (a DateTime object) to XML.
Mit diesem Befehl wird das aktuelle Datum (ein DateTime-Objekt) in XML konvertiert.
Enter a string that represents the date and time, such as "3/15/09" or a DateTime object, such as one from a Get-Date command.
Geben Sie eine Zeichenfolge ein, die das Datum und die Uhrzeit darstellt, z. B. "15.3.09", oder ein DateTime-Objekt, z. B. ein Objekt aus einem Get-Date-Befehl.