/ Published in: Java
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Get the time in defined format * * @return String with time */ return sdf.format(cal.getTime()); }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)
/** * Get the time in defined format * * @return String with time */ return sdf.format(cal.getTime()); }