User Login    
 + Register
  • Main navigation
Login
Username:

Password:


Lost Password?

Register now!
Documentation
Who's Online
102 user(s) are online (3 user(s) are browsing XoopsWiki)

Members: 1
Guests: 101

tzvook, more...
[Main Page]

Dev:XoopsFormDateTime

From XOOPS Project

Main Page | Recent changes | Edit this page | Page history | Switch to MediaWiki mode

Printable version | Disclaimers | Privacy policy
Category: Development

Definition

XoopsFormDateTime( mixed $caption, mixed $name, mixed $size = 15, mixed $value = 0 )

Usage

This element will show a date in a text field with a button for bringing up a JavaScript calendar. If no value is given, the element will default to a timestamp found with time() When receiving values from this element, it will come in an array with two indexes: 'date' and 'time', so to get that into a usable timestamp, do the following:

   $var_name = strtotime($var_name['date']) + $var_name['time'];


Back to Main Page

Retrieved from "http://www.xoops.org/modules/mediawiki/index.php/Dev:XoopsFormDateTime"

This page has been accessed 465 times. This page was last modified 17:20, 15 December 2007. Content is available under XOOPS Project.


Local Support Sites
Powered by
XOOPS Code hosted on SourceForge

Powered by PHP



Powered by MySQL

Powered by Smarty

OSI certified

All content on this site is subject to the Creative Commons License
Developers for Hire