TheGetDateTimeFormats()method is used to obtain an array of string representations of aDateTimeobject in different formats. To view all thedateandtimeformats, you can use the below command. It displays a large string array of formatting styles for date and time. ...
AddTicks Method System.DateTime AddTicks(long value) AddYears Method System.DateTime AddYears(int value) CompareTo Method int CompareTo(System.Object value), ... Equals Method bool Equals(System.Object value), bo... GetDateTimeFormats Method string[] GetDateTimeFormats(), strin... GetHashCode Met...
GetTypeMethodtypeGetType() InitializeLifetimeServiceMethodSystem.ObjectInitializeLifetimeService() PauseMethodvoidPause() RefreshMethodvoidRefresh() StartMethodvoidStart(),voidStart(string[]args) StopMethodvoidStop() WaitForStatusMethodvoidWaitForStatus(System.ServiceProcess.ServiceControllerStatusdesiredStatus),void...
e={if(($_.Hidden) -or ($_.ItemCount -eq 0) -or ($_.LastItemModifiedDate -lt $testDate) -or ($_.Description -eq "")){$True}Else{$False}}}, * | Export-Csv "C:\Site-Prep\$($SPSite.hostname)$($SiteUrl).$((get-date).GetDateTimeFormats()[5]).csv" -NoTypeInforma...