Source Code : Formatting Symbols for SimpleDateFormat

Java Is Open Source Programming Language You Can Download From Java and Java Libraries From http://www.oracle.com. Click Here to download
We provide this code related to title for you to solve your developing problem easily. Libraries which is import in this program you can download from http://www.oracle.com. Click Here or search from google with Libraries Name you get jar file related it

Formatting Symbols for SimpleDateFormat

      

Symbol                              Description

a                                   AM or PM

d                                   Day of month (1-31)

h                                   Hour in AM/PM (1-12)

k                                   Hour in day (1-24)

m                                   Minute in hour (0-59)

s                                   Second in minute (0-59)

w                                   Week of year (1-52)

y                                   Year

z                                   Time zone

D                                   Day of year (1-366)

E                                   Day of week (for example, Thursday)

F                                   Day of week in month

G                                   Era (that is, AD or BC)

H                                   Hour in day (0-23)

K                                   Hour in AM/PM (0-11)

M                                   Month

S                                   Millisecond in second

W                                   Week of month (1-5)

Z                                   Time zone in RFC822 format 

   
    
    
    
    
    
  

Thank with us