function SecondOf(Value: DateTime; UTC: Boolean=False): Integer
X := SecondOf(Time); // X is 20 (assuming a time of 12:10:20 PM)