NP_time.php

Plugin to display the current time

General Plugin info
Author: faceh
Current Version: 1.0
Download: np_time_v10.zip
Code: NP_time_code
Demo: N/A
Forum Thread: http://forum.nucleuscms.org/viewtopic.php?p=55320#55320

Installing

  1. copy to Plugins directory, and install through nucleus Admin area.
  2. Set options as desired, or leave as default and use skinVars.

How to use the plugin

In your Skin file, use <%time%> wherever you want the current time to be displayed with default settings.

For varying settings, use <%time(date/time format|time offset|locale)%> with NO SPACES in between.

Example: <%time(%c|3|ja_JP.UTF-8)%>

This is useful for displaying different timezones on one page.

Available SkinVars and/or TemplateVars

  • <%time(date/time format|time offset|locale)%>

Options

  • N/A

Tips and Tricks

Wishlist

Bugs

History

  • Version 1.0, released 29th Jan, 2006
time.txt · Last modified: 2006/07/05 13:03 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki