diff --git a/inc/RRule.php b/inc/RRule.php index 0c570a56..3bfa6a5f 100644 --- a/inc/RRule.php +++ b/inc/RRule.php @@ -173,6 +173,14 @@ class iCalDate { } + /** + * Render the date as GMT + */ + function RenderGMT( $fmt = 'Ymd\THis\Z' ) { + return gmdate( $fmt, $this->_epoch ); + } + + /** * No of days in a month 1(Jan) - 12(Dec) */