Date.getOffset

Gets @date's offset from UTC.

class Date
int
getOffset
()

Return Value

Type: int

@date's offset from UTC. If soup_date_get_utc() returns %FALSE but soup_date_get_offset() returns 0, that means the date is a "floating" time with no associated offset information.

Meta

Since

2.32