- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to check if the date is adjusted by Daylight saving time using PowerShell?
To check if the date is adjusted by the daylight savings you need to use the function IsDayLightSavingTime() of the Get-Date cmdlet.
PS C:\WINDOWS\system32> (Get-Date).IsDaylightSavingTime() False
To know more about DST, check the link below.
- Related Articles
- How to check if the file is empty using PowerShell?
- How to check windows certificate expiry date using PowerShell?
- How to check if the computer is connected to a domain using PowerShell?
- How to check if the USB device is connected to the system using PowerShell?
- How to check if the Azure resource group is empty or not using PowerShell?
- How to check if remote ports are open using PowerShell?
- How to check if PSCustomObject is empty in PowerShell?
- How to retrieve the Azure VM deallocated date using PowerShell?
- How To Check If The Time Difference Is Greater Than A Specific Time?
- How to check the website status code using PowerShell?
- How to check the Date and time of Access (last modified) of a File using Java?
- Python Program to Check if a Date is Valid and Print the Incremented Date if it is
- How to check which Azure account is logged in using PowerShell?
- How to find the file modified after a certain date using PowerShell?
- How to order by date and time in MySQL?

Advertisements