Home
Beginners Tutorial
Example Applications
Plugin Tutorials
Tag Reference
Snippets
Books
About
Beginners Tutorial
Grails 2 IDE Setup
Model View Controller (MVC) Pattern
Playing with Groovy Language
Starting with Controllers
Basic Groovy Server Pages (GSP)
Layout Templates
Introduction to GORM
Display Data from the Database
Form Submission and Saving Data to the Database
Scaffolding
Grails Service Layer
Criteria API
HQL Queries (executeQuery and executeUpdate)
Grails 3 Vue.js Hello World Examples
Grails 3 Vue.js AJAX Table Examples
Example Applications
Simple Ajax Chat
Simple Document Management System
Save Documents To Database
Download / Export Excel File
Download / Export ZIP File
Grails Forum Application
How to Create Great Looking
Grails User Interface
If you like my posts, like my Facebook page please :)
Links
Grails Main Site
Grails Latest Doc
Grails Wikipedia Page
Grails Code on GitHub
Spring IO
Oracle’s Java Site
Java Tutorials
Grails formatDate Tag Example
Feb 20, 2016
Tag
The Grails' <g:formatDate> tag can be used inside GSPs to format java.util.Date instances for display. The tag is based on Java's SimpleDateFormat class. Below are some examples on how to use this tag.
Continue reading »
Grails 3 Tutorials
Grails 3 IDE Setup
Grails 3 Project Structure Tutorial
Grails 3 Vue.js Hello World Examples
Grails 3 Vue.js AJAX Table Examples
Grails Project Themes
Java Samples
Converting Java Float To String Without Exponential Scientific Notation
Java String Compare
Java Substring
Java Math.Round()
Byte Array to String in Java
String Replace In Java
Left Pad String With Zeros in Java
Java String Split Newline
Java String Split Dot Or Period
Split String Into Array Of Integers in Java
Sort String Array in Java
Convert Java Float To String With 2 Decimal Place
Float To Integer In Java
Two Dimensional String Array in Java
Java String Array Initialization
Conversion Of Java String To Double
Maximum Value of Long in Java
Java 5 For Loop String Array
Java String Split Count
Check If String Contains Substringin Java
Java Split String Into ArrayList
Left Pad String in Java
Check If String Array Contains a Value In Java
Converting Java String To Date
Double To String With 2 Decimal Places In Java
Maximum Value of Integer in Java
Read Text File in Java
Iterate Through String Array in Java
How To Add element to String Array in Java
Convert Java Integer To Fixed Length String
Plugins
Barcode (barcode4j) Plugin Example
Spring Security Core Plugin Example - Annotations
Spring Security Core Plugin Example - Static URL Map Rules
Spring Security Core Plugin Example - Dynamic Request Maps
Mail Plugin Tutorial
Quartz Plugin Tutorial
PayPal Plugin Tutorial
Spring Security Core Plugin - Registering Callback Closures
Examples
Simple Ajax Chat
Simple Document Management System
Save Documents To Database
Download / Export Excel File
Download / Export ZIP File
Grails Forum Application
Groovy SQL
Groovy SQL Database Connection Examples
Groovy SQL Create Table Examples
Groovy SQL Insert Operation Examples
Groovy SQL Read Operation Examples
Groovy SQL Update Operation Examples
Groovy SQL Delete Operation Examples
Snippet
Improving Performance of Large Batch Insert
Add MySQL driver jar to a Grails Project using BuildConfig
How To Check If Environment is Test, Development, or Production in Grails
How to make Grails use JNDI datasource with Tomcat
Grails - How To Create Custom Table Index Or Composite Index
Grails Google Maps Geocoding Example
Grails Spring Security Core Plugin - Registering Callback Closures
Grails Example - Upload Excel Data File To Database
Grails render images on the fly in GSP
How to make Grails use an external properties file for datasource configuration
Grails chained select - load data on one dropdown box depending on another
Grails HQL Join Examples
Grails HQL Count Examples
Grails HQL Update Examples
Grails HQL Delete Examples
Grails HQL Pagination Examples
Grails HQL Group By Examples
Grails HQL Order By Examples
Grails Criteria Projections Examples
Grails Criteria Count Example
Grails Select Enum Values
Java String Split Dot Or Period
Converting Java String To Date
Converting Java Float To String Without Exponential Scientific Notation
Conversion Of Java String To Double
Conversion Of Java String To Integer
Java String Compare
Groovy String take()
Groovy String reverse()
Groovy String drop()
Groovy
Grails Tutorial for Beginners - Playing with Groovy Language
Groovy String Tutorial
Groovy Map Tutorial
Groovy Each Loop Examples
Groovy -e Command Line Option
Groovy String To Integer
Groovy List To String
Groovy Sleep Examples
Groovy For Loop Examples
Groovy print Examples
Groovy println Examples
Groovy Times Loop Examples
Groovy Array Manipulation Examples
Groovy File Examples
Groovy Def Declaration Examples
Groovy Find
Groovy FindAll
Groovy Copy File Examples
Groovy Array Length
Groovy Add To Map Examples
Groovy Substring Examples
Groovy List Tutorial And Examples
Groovy Switch Statement Examples
Groovy XmlSlurper Examples for Parsing XML
Groovy XmlParser Examples for Parsing XML
Groovy Create XML Document Examples
Groovy Edit/Modify XML Examples
Groovy Sort Information in XML Document
Groovy Compare String
Groovy Set Examples
Groovy Split Examples
Groovy Range Examples
Groovy Enum Examples
Groovy String Tokenize Examples
Convert String to Enum in Groovy
Grails Select Enum Values
Groovy String take()
Groovy String reverse()
Groovy String drop()
Tag Reference
cookie Tag Example
actionSubmitImage Tag Example
actionSubmit Tag Example
checkBox Tag Example
AJAX Tag - remoteField Example
localeSelect Tag Example
timeZoneSelect Tag Example
countrySelect Tag Example
country Tag Example
currencySelect Tag Example
textArea Tag Example
textField Tag Example
while Tag Example
unless Tag Example
if Tag Example
each Tag Examples
collect Tag Examples
join Tag Examples
findAll Tag Examples
createLink Tag Example
createLinkTo Tag Example
datePicker Tag
else Tag Example
elseif Tag Example
formatDate Tag Example
formatBoolean Tag Example
formatNumber Tag Example
Select Enum Values