Node Permanently Moved

    day-now

    1.0.5 • Public • Published

    day-now

    Day-now gets current month,day,year and displays them based on some filters.

    Usage

    var today=require('day-now');
    console.log(today.getCurrentDay("nz"));
    // days without zeroes in front,3
    console.log(today.getCurrentDay("z"));
    //days with zero in front,03
    console.log(today.getCurrentMonth("mnu"));
    //month with its number,04
    console.log(today.getCurrentMonth("mna"));
    //month with its name,April
    console.log(today.getCurrentDate("nm"," "));
    //month name, 3 April 2018 and delimteter " "
    console.log(today.getCurrentDate("us","-"));
    // us system and - between, 04-03-2018
    console.log(today.getCurrentDate("eu","/"));
    // eu system and / between,03/04/2018

    Licence

    Apache 2.0

    Install

    npm i day-now

    DownloadsWeekly Downloads

    2

    Version

    1.0.5

    License

    Apache-2.0

    Unpacked Size

    3.31 kB

    Total Files

    5

    Last publish

    Collaborators

    • anatanome