diff --git a/src/include/switch_apr.h b/src/include/switch_apr.h index 98e8f2d820..a833436a28 100644 --- a/src/include/switch_apr.h +++ b/src/include/switch_apr.h @@ -1084,6 +1084,15 @@ typedef apr_time_exp_t switch_time_exp_t; DoxyDefine(switch_time_t switch_time_now(void);) #define switch_time_now apr_time_now +/** + * Convert time value from human readable format to a numeric apr_time_t that + * always represents GMT + * @param result the resulting imploded time + * @param input the input exploded time + */ +DoxyDefine(switch_status_t switch_time_exp_gmt_get(switch_time_t *result, switch_time_exp_t *input);) +#define switch_time_exp_gmt_get apr_time_exp_gmt_get + /** * formats the exploded time according to the format specified * @param s string to write to