Dates selection

This is the third time I’m trying to post this - so apologies if its appearing again and again.

Anyway - Hello,

I’m looking for help with default values for dates in a module.

I’ve created a module that contains an iFrame. The iFrames URL points to an internal SSRS site and takes parameters. I can set the default date of one of the fields in the module to today but I want to set the other to the 1st of the month for whatever month we’re in. so say it’s December 18th.

I’d like to have it so that a user clicks into the module and the start of the month (December 1st) is prefilled into a field and todays date is prefilled into another field which I will then pass as parameters to the URL thus updating the iFrame.

I’ve no idea how to do this or even if it can be done, so any assistance would be very welcome…

i.e.

Start date = 1st of the month (whatever month we happen to be in)
EndDate = Today

Thanks for any help received

Lars