We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
объект DateTime
This means that numbers, boolean values and strings can be used just fine for a constant, while e.g. a DateTime object can't be used as a constant.
Это означает, что числа, логические значения и строки могут быть использованы для константы, в то время как, например, объект DateTime не может быть использован в качестве константы.
This parameter does not affect the DateTime object that Get-Date retrieves.
Этот параметр не влияет на объект DateTime, возвращаемый командой Get-Date.
int Hour Returns current hour for a datetime object.
int Hour Возвращает час для объекта datetime.
The second command shows that the default display from the ToString() method of the DateTime object is in short-date and short-time format.
Вторая команда показывает, что по умолчанию метод ToString() объекта DateTime возвращает дату и время в коротком формате.
The Get-Date cmdlet gets a DateTime object that represents the current date or a date that you specify. It can format the date and time in several Windows and UNIX formats.
Командлет Get-Date получает объект DateTime, содержащий текущую или заданную дату. Он позволяет выводить дату и время в различных форматах Windows и UNIX.
The third command uses a pipeline operator to send the DateTime object to the Add-Content cmdlet, which adds the content to the Test.txt file.
Третья команда с помощью оператора конвейера передает объект DateTime командлету Add-Content, который добавляет содержимое в файл Test.txt.
When you use the UFormat parameter, Windows PowerShell retrieves only the properties of the DateTime object that it needs to display the date in the format that you specify.
При использовании параметра UFormat оболочка Windows PowerShell возвращает только те свойства объекта DateTime, которые требуются для отображения даты в указанном формате.
When you pipe a date to cmdlets that expect string input, such as Add-Content, Windows PowerShell converts the DateTime object to a string before adding it to the file.
При передаче даты по конвейеру командлету, принимающий строковые значения, например командлету Add-Content, оболочка Windows PowerShell преобразует объект DateTime в строку, прежде чем добавить его в файл.
Because Add-Content uses the ToString() method of the DateTime object, the date that is added is in short-date and short-time format.
Поскольку командлет Add-Content использует метод ToString() объекта DateTime, добавляемая дата имеет короткий формат даты и времени.
When you use the Format or UFormat parameters, Get-Date generates a string, not a DateTime object. Then, when you send the string to Add-Content, it adds the string to the Test.txt file without changing it.
При использовании параметров Format и UFormat командлет Get-Date создает строку, а не объект DateTime. Затем, когда строка передается командлету Add-Content, эта строка добавляется в файл Test.txt без изменений.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.
No results found for this meaning.
Synonyms and analogies of "datetime object" in English