Combination View Flat View Tree View
Threads [ Previous | Next ]
Ashish Ranjan
Get Last Login date in IST Format Using Theme
November 12, 2012 2:36 AM
Answer

Ashish Ranjan

Rank: Junior Member

Posts: 57

Join Date: December 10, 2009

Recent Posts

Put this below code in portal_normal.vm

#set ($dateFormat = "dd MMM yyyy HH:mm a")
#set ($timeZone = $timeZoneUtil.getTimeZone("IST"))
#set ($displayDate = $dateUtil.getDate($user.getLastLoginDate(), $dateFormat, $locale, $timeZone))