mozilla
Your Search Results

    Template:DekiScript:Date

    <% module.exports = buildAPI({
        now: function () {
            return (new Date());
        },
        
        parse: function(str) {
            return (Date.parse(str));
        },
        
        getLocaleDateString: function(d, locales, options) {
            var theDate = new Date(d);
            return theDate.toLocaleDateString(locales, options);
        }
    }); %>
    Search for pages that use Template:DekiScript:Date to see example use cases and how many pages use this macro.

    Document Tags and Contributors

    Tags: 
    Contributors to this page: Sheppy, lmorchard
    Last updated by: Sheppy,