Help with 'Date Input' field

Options

Hello,

I have a question regarding date input fields. I have a database that will store transactions.

I need the date_input field because the admin of my app needs to be able to input specific dates.

In my api function stack, I need to be able to pull in all transactions for "next month"

My client wants to be able to display up and coming charges for the next month.

So I'm imagining I would need to create a variable that gets "this month" and then run some logic to get the next month and filter my transactions based on that.

This is the part im struggling with. Any help would be greatly appreciated.

Best Answer

  • Pawel Magdanski
    Pawel Magdanski Member ✭✭✭
    Answer ✓
    Options

    I think what you are looking for is timestamp transformation, if you will set it up like below, you will get the begining of this month, for beginning of next month replace this with next in format input.

Answers