using System; using System.Globalization; public class Test { public static void Main() { DateTimeOffset theTime = new DateTimeOffset(2010, 6, 12, 21, 16, 32, DateTimeOffset.Now.Offset); Console.WriteLine("The second component of {0} is {1}.", theTime, theTime.Second); } }