calendar::outlook::cal_outlook_gmt_sql (public, deprecated)

 calendar::outlook::cal_outlook_gmt_sql [ hours ] [ dash ]

Defined in packages/calendar/tcl/calendar-outlook-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Formats the hours to subtract or add to make the date_time be in gmt. DEPRECATED: upstream code stopped using this api in date 2002-07-10.

Parameters:
hours (optional, defaults to "0")
dash (optional)
See Also:
  • nothing

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) calendar::outlook::cal_outlook_gmt_sql calendar::outlook::cal_outlook_gmt_sql calendar::outlook::cal_outlook_gmt_sql->ad_log_deprecated

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc calendar::outlook::cal_outlook_gmt_sql
        # east of gmt is notated as "-",
        # in order to get gmt (to store the date_time for outlook)
        # we need to have the hour equal gmt at the same time as the client
        # i.e. if its noon gmt, then its 4am in pst
        
        if {$dash ne ""} {
            set date_time_math "- $hours/24"
        } else {
            set date_time_math "+ $hours/24"
        }

        return $date_time_math
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/calendar/tcl/calendar-outlook-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: