Forum Post: Function rbf_formatDate() does not recognize format "2015-Feb-18"

  • Thread starter Thread starter Meryk
  • Start date Start date
Status
Not open for further replies.
M

Meryk

Guest
Hi, I am using the function rbf_formatDate to format a given date using a format I am getting from the available ones in the setting page of user. (Settings My Settings Field Date format), i.e these : The format of "2015-Feb-18 14:12" is "yyyy-MMM-dd hh:mm". This format as we can see is available in Rollbase, but when we do this : var myDate = new Date(); var formattedDate = rbf_formatDtae(myDate, "yyyy-MMM-dd") ; formattedDate is : "2015-0505-18". (We are truncating the time too). Any ideas why this format is not recognized by rbf_formatDate ? Thank you Meryem

Continue reading...
 
Status
Not open for further replies.
Back
Top