Npgsql Api Docs |

# NpgsqlTimeTZ.CompareTo Method

Compares this with another NpgsqlTimeTZ. As per postgres' rules, first the times are compared as if they were both in the same timezone. If they are equal then then timezones are compared (+01:00 being "smaller" than -01:00).

#### Overload List

Compares this with another NpgsqlTimeTZ. As per postgres' rules, first the times are compared as if they were both in the same timezone. If they are equal then then timezones are compared (+01:00 being "smaller" than -01:00).

> public int CompareTo(NpgsqlTimeTZ);

> public int CompareTo(object);

#### See Also

NpgsqlTimeTZ Class | NpgsqlTypes Namespace