NineSec Team Shell
Server IP : 92.205.26.207  /  Your IP : 216.73.216.16
Web Server : Apache
System : Linux 207.26.205.92.host.secureserver.net 4.18.0-553.60.1.el8_10.x86_64 #1 SMP Thu Jul 10 04:01:16 EDT 2025 x86_64
User : zikryat ( 1002)
PHP Version : 8.3.23
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/zikryat/public_html/node_modules/date-and-time/plugin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/zikryat/public_html/node_modules/date-and-time/plugin/timezone.d.ts
declare module '../date-and-time' {
    /**
     * Formatting date and time objects using time zone names (Date -> String)
     * @param dateObj - A Date object
     * @param formatString - A format string
     * @param [timeZone] - Output as this time zone
     * @returns A formatted string
     */
    export function formatTZ(dateObj: Date, formatString: string, timeZone?: string): string;

    /**
     * Formatting date and time objects using time zone names (Date -> String)
     * @param dateObj - A Date object
     * @param compiledObj - A compiled object of format string
     * @param [timeZone] - Output as this time zone
     * @returns A formatted string
     */
    export function formatTZ(dateObj: Date, compiledObj: string[], timeZone?: string): string;

    /**
     * Parsing date and time strings using time zone names (String -> Date)
     * @param dateString - A date and time string
     * @param formatString - A format string
     * @param [timeZone] - Input as this time zone
     * @returns A Date object
     */
    export function parseTZ(dateString: string, formatString: string, timeZone?: string): Date;

    /**
     * Parsing date and time strings using time zone names (String -> Date)
     * @param dateString - A date and time string
     * @param compiledObj - A compiled object of format string
     * @param [timeZone] - Input as this time zone
     * @returns A Date object
     */
    export function parseTZ(dateString: string, compiledObj: string[], timeZone?: string): Date;

    /**
     * Format transformation of date and time strings using time zone names (String -> String)
     * @param dateString - A date and time string
     * @param formatString1 - A format string before transformation
     * @param formatString2 - A format string after transformation
     * @param [timeZone] - Output as this time zone
     * @returns A formatted string
     */
    export function transformTZ(dateString: string, formatString1: string, formatString2: string, timeZone?: string): string;

    /**
     * Format transformation of date and time strings using time zone names (String -> String)
     * @param dateString - A date and time string
     * @param formatString - A format string before transformation
     * @param compiledObj - A compiled object of format string after transformation
     * @param [timeZone] - Output as this time zone
     * @returns A formatted string
     */
    export function transformTZ(dateString: string, formatString: string, compiledObj: string[], timeZone?: string): string;

    /**
     * Format transformation of date and time strings using time zone names (String -> String)
     * @param dateString - A date and time string
     * @param compiledObj - A compiled object of format string before transformation
     * @param formatString - A format string after transformation
     * @param [timeZone] - Output as this time zone
     * @returns A formatted string
     */
    export function transformTZ(dateString: string, compiledObj: string[], formatString: string, timeZone?: string): string;

    /**
     * Format transformation of date and time strings using time zone names (String -> String)
     * @param dateString - A date and time string
     * @param compiledObj1 - A compiled object of format string before transformation
     * @param compiledObj2 - A compiled object of format string after transformation
     * @param [timeZone] - Output as this time zone
     * @returns A formatted string
     */
    export function transformTZ(dateString: string, compiledObj1: string[], compiledObj2: string[], timeZone?: string): string;
}

export default function (date: unknown, localized_date?: unknown): string;

NineSec Team - 2022