Logo Search packages:      
Sourcecode: libical version File versions

struct icaltimetype icaltime_current_time_with_zone ( const icaltimezone *  zone  )  [read]

Convenience constructor.

Returns the current time in the given timezone, as an icaltimetype.

Returns the current time in the given timezone, as an icaltimetype.

Definition at line 242 of file icaltime.c.

{
    return icaltime_from_timet_with_zone (time (NULL), 0, zone);
}


Generated by  Doxygen 1.6.0   Back to index