Formatted Date Plus

Developer

Laisvunas

3rd Party (Commercial)
Current Version: 2.2

License Agreement

Buy Now!

$12.00
Qty:

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Module

Tags

Displays custom date according global or ad hoc format.

INSTALLATION

1) upload the directory “date_plus” to /system/expressionengine/third_party on the server.

2) go CP Home > Add-ons > Modules, find “Formatted Dat Plus” in modules list and click “Install”.
Then click the link “Formatted Date” and set settings.

SETTINGS

This add-on has following settings.

1) Default value of “date_format” parameter. ExpressionEngine’s date formats are described here: http://expressionengine.com/user_guide/templates/date_variable_formatting.html
Default value of this setting is “%D, %F %d, %Y”.

2) Default value of “localize” parameter. Set to “yes” if you need the dates to be localized by default, “no” if otherwise. Default value of this setting is “no”.

PARAMETERS OF exp:date_plus tag

1) date - Required. Allows you to specify a date. Use format YYYY-MM-DD

2) time - Optional. Allows you to specify time. Use format HH:MM:SS (minutes and seconds are optional; hours should be specified in 24 hours format).

3) format - Optional. If specified, will override the value of relevant setting. ExpressionEngine’s date formats are described here: http://expressionengine.com/user_guide/templates/date_variable_formatting.html

4) localize - Optional. If specified, will override the value of relevant setting. Set to “yes” if you need the dates to be localized, “no” if otherwise.

USAGE EXAMPLES

This code will output formatted date using default values of “format” and “localize” parameters:

{exp:date_plus date="2011-08-07"}
{date_plus&#1

25;
{/exp:date_plus}

This code also will output formatted date using default values of “format” and “localize” parameters. Notice that time is also specified:

{exp:date_plus date="2008-08-07" time="18:11:58"}
{date_plus}
{/exp:date_plus}

This code will output formatted date using default value of “format” parameter; “localize” parameter value will override default value:

{exp:date_plus date="2008-08-07" time="18:11:58" localize="no"}
{date_plus}
{/exp:date_plus}

In this code “format” parameter value overrides default date format and “localize” parameter value overrides default localize value:

{exp:date_plus date="2008-08-07" time="18:11:58" localize="no" format="%D, %F %d, %Y %H hours %i mins %s secs"}
{date_plus}
{/exp:date_plus}

This entry was created October 18, 2012, 11:38 am.
This entry was last updated October 19, 2012, 11:18 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!