Display: Cloud | List
Most Popular Tags
Results (18 total) All > powershell (x) > system.globalization.calendar (x)
IsLeapYear sample using PowerShell (Calendar.IsLeapYear Method (System.Globalization))
<#.SYNOPSIS This script displays values from a date/time object before/after adding time to the object..DESCRIPTION This script uses System.Globalization features to create a gregorian calendar based DateTime object, set to a particular date, then displays the values on this object. Next, the script adds 5 to all key date fields in the calendar object thus +5 years, +5 months, e
Last modified by Thomas Lee on 6/15/2009 10:12:32 AM
IsLeapMonth sample using PowerShell (Calendar.IsLeapMonth Method (System.Globalization))
<#.SYNOPSIS This script displays values from a date/time object before/after adding time to the object..DESCRIPTION This script uses System.Globalization features to create a gregorian calendar based DateTime object, set to a particular date, then displays the values on this object. Next, the script adds 5 to all key date fields in the calendar object thus +5 years, +5 months, e
Last modified by Thomas Lee on 6/15/2009 10:11:55 AM
IsLeapDay Sample using PowerShell (Calendar.IsLeapDay Method (System.Globalization))
<#.SYNOPSIS This script displays values from a date/time object before/after adding time to the object..DESCRIPTION This script uses System.Globalization features to create a gregorian calendar based DateTime object, set to a particular date, then displays the values on this object. Next, the script adds 5 to all key date fields in the calendar object thus +5 years, +5 months, e
Last modified by Thomas Lee on 6/15/2009 10:11:16 AM
GetDaysInMonth - Sample using PowerShell (Calendar.GetDaysInMonth Method (System.Globalization))
<#.SYNOPSIS This script displays values from a date/time object before/after adding time to the object..DESCRIPTION This script uses System.Globalization features to create a gregorian calendar based DateTime object, set to a particular date, then displays the values on this object. Next, the script adds 5 to all key date fields in the calendar object thus +5 years, +5 months, e
Last modified by Thomas Lee on 6/15/2009 10:10:02 AM
GetYear sample using PowerShell (Calendar.GetYear Method (System.Globalization))
<#.SYNOPSIS This script displays values from a date/time object before/after adding time to the object..DESCRIPTION This script uses System.Globalization features to create a gregorian calendar based DateTime object, set to a particular date, then displays the values on this object. Next, the script adds 5 to all key date fields in the calendar object thus +5 years, +5 months, e
Last modified by Thomas Lee on 6/14/2009 11:12:26 AM
GetSecond sample using PowerShell (Calendar.GetSecond Method (System.Globalization))
<#.SYNOPSIS This script displays values from a date/time object before/after adding time to the object..DESCRIPTION This script uses System.Globalization features to create a gregorian calendar based DateTime object, set to a particular date, then displays the values on this object. Next, the script adds 5 to all key date fields in the calendar object thus +5 years, +5 months, e
Last modified by Thomas Lee on 6/14/2009 11:11:40 AM
GetMonth sample using PowerShell (Calendar.GetMonth Method (System.Globalization))
<#.SYNOPSIS This script displays values from a date/time object before/after adding time to the object..DESCRIPTION This script uses System.Globalization features to create a gregorian calendar based DateTime object, set to a particular date, then displays the values on this object. Next, the script adds 5 to all key date fields in the calendar object thus +5 years, +5 months, e
Last modified by Thomas Lee on 6/14/2009 11:10:55 AM
GetMinute sample using PowerShell (Calendar.GetMinute Method (System.Globalization))
<#.SYNOPSIS This script displays values from a date/time object before/after adding time to the object..DESCRIPTION This script uses System.Globalization features to create a gregorian calendar based DateTime object, set to a particular date, then displays the values on this object. Next, the script adds 5 to all key date fields in the calendar object thus +5 years, +5 months, e
Last modified by Thomas Lee on 6/14/2009 11:10:13 AM
GetMiliseconds sample using PowerShell (Calendar.GetMilliseconds Method (System.Globalization))
<#.SYNOPSIS This script displays values from a date/time object before/after adding time to the object..DESCRIPTION This script uses System.Globalization features to create a gregorian calendar based DateTime object, set to a particular date, then displays the values on this object. Next, the script adds 5 to all key date fields in the calendar object thus +5 years, +5 months, e
Last modified by Thomas Lee on 6/14/2009 11:09:14 AM
GetHour sample using PowerShell (Calendar.GetHour Method (System.Globalization))
<#.SYNOPSIS This script displays values from a date/time object before/after adding time to the object..DESCRIPTION This script uses System.Globalization features to create a gregorian calendar based DateTime object, set to a particular date, then displays the values on this object. Next, the script adds 5 to all key date fields in the calendar object thus +5 years, +5 months, e
Last modified by Thomas Lee on 6/14/2009 11:08:19 AM
Page view tracker