Contact | Privacy | Datenschutzerklärung | Impressum


Format: localtime ( time )

Purpose: This function corrects for the main time zone and possible alternate (daylight savings) time zone for a time value. The time parameter must be an integer and is normally a value returned by caltime().

Return Values: Returns an object containing the broken down time. A broken down time object has the following fields:

secintegerseconds after the minute[0, 61]
minintegerminutes after the hour[0, 59]
hourintegerhour since midnight[0, 23]
mdayintegerday of the month[1, 31]
monintegermonths since January[0, 11]
wdayintegerdays since Sunday[0, 6]
ydayintegerdays since January 1[0, 365]
isdstintegerflag for alternate daylight savings time[0, 1, -1],
0=not in effect,
1=in effect,
-1=information not available


input:resulting output:
<? localtime(caltime())>(sec=49, min=27, hour=9, mday=23, mon=6, year=2024, wday=2, yday=204, isdst=0)
<? gmtime(caltime())>(sec=49, min=27, hour=9, mday=23, mon=6, year=2024, wday=2, yday=204, isdst=0)

See Also: caltime(), difftime(), gmtime(), mktime(), strftime(), strptime().

This page was dynamically generated by the web application development tool RADpage of H.E.I.

Selected blog articles : 3D Objects on HTML pages, CSS Transition Visibility, and CSS Transition Display.

© 1996-2024 H.E.I. All Rights Reserved.

Component Guide
  Language Guide
  Language Ref.
    General Design
    Lexical Structure
    heitml Tags
    heitml Functions
    Advanced Functions
    Database Access
    Global Variables
    Form Fields
    Server Variables
    heitml Syntax
  Component Ref.
  Class Library
  User Components
  New Features
  heitml 1
User Guide
Contact / Impressum