• Resolved futureyoon

    (@futureyoon)


    Hi

    I would like to check with you if thre is a way to define ‘current year’ and ‘current month -1’

    I am trying to build a table whereby I wish to display automatically data that order date is current year and ‘current month -1month’ dynamically.

    Is it possible to achieve? Please kindly advise.

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author wpDataTables

    (@wpdatatables)

    ?Hello,
    I?am sorry, but we are not sure if we understood your exact use-case.

    Do you wish to sort the Table on load, like “order by current Year” ( for a column that stores the Year data) and then by another Column that stores the “month” data?

    Or do you perhaps wish to have all this in one column – and to have the Table ‘order by/sort’ by first showing the current year/month-1 ;

    Or do you wish to filter a table to only show data from the current Year and one month before the current one, something like that?

    If you could provide any more details with examples what is the Column structure going to be and which functionality is needed exactly?

    The best is if you can add any screenshots/ or a page with an example/or a Video ( as long as it does not contain any sensitive data, since this is a Public Forum).
    Thank you.

Viewing 1 replies (of 1 total)
  • The topic ‘current year and current month’ is closed to new replies.