Try this: var date = new Date(entry.publishedDate); date = date.toDateString().substr(4);
That should be sufficient -- if the result of toDateString is satisfactory. In most major browsers the above should give you e.g. "May 25 2011", although with Opera the format may be different e.g. "25 May 2011". Alternatively: var date = new Date(entry.publishedDate); monthNames = [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ]; date = monthNames[ date.getMonth() ] + ' ' + date.getDate() + ' ' + date.getFullYear(); ... Others may suggest solutions involving a JS library or plugin. For example, if you were using JQuery, you could try the format() method provided in Marc Grabanski's beta "JQuery Date" plugin: http://marcgrabanski.com/articles/jquery-date-plugin -- omr -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to google-ajax-search-api@googlegroups.com. To unsubscribe from this group, send email to google-ajax-search-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en.