Date Formatter Hash Variable Plugin

The Date Formatter Hash Variable Plugin converts your displayed date values from one date format to another, example from "2017-02-23" to "Feb 23, 2017".

    Syntax: #dateFormatter.{date source value}.source date format&new date format#

 

Let's say you have saved your dates into the database as "yyyy-MM-dd", using this form hash variable #form.dbtable.dateField# in your form or (email) tool, it will display as "2017-02-23".

Using the Date Formatter hash variable, you can change the date format to display as "Feb 23, 2017" using the following hash syntax:

    #dateFormatter.{{form.dbtable.dateField}}.yyyy-MM-dd&MMM d, yyyy#

For static date values, use the following hash syntax:

    #dateFormatter.{2017-02-23}.yyyy-MM-dd&MMM d, yyyy#

 

The Date and Time pattern strings are based on the Java SimpleDateFormat.

The Joget Workflow Knowledge Base has an extensive documentation on Hash Variables.

 

Steps To Import This Plugin

  1. Click "Download" on this plugin screen (It will be a .jar file).
  2. Go to your Joget Workflow localhost or server, in Joget Console, navigate to "Admin Bar>Systems Settings>Manage Plugins" and click "Upload Plugins" button.
  3. In "Upload Plugin" screen, select the plugin .jar file you just downloaded, then click "Upload".
  4. You can now use the Date Formatter hash variable in Forms, Userview or Process Tools.
  5. Remember to always uninstall the old plugin before uploading a new version.
  6. The Joget Workflow Knowledge Base has more information on managing and developing plugins.
127
$ 0.00
Additional App Information
February 23, 2017
v1
Justin Wee
More Plugin By Justin Wee
1 Enhanced Load Balanced Participant Plugin
2 Load Balanced Group Participant Plugin
3 Task Sequencer App & Plugin
4 Task Sequencer Plugin
5 Tooltip Form Element Plugin
View More Plugin By Justin Wee
Write a review
Reviews
Print