Smartsite SXML CopyCode image Copy Code
{smidata.startswithfullmonth(datetime.getdate(2010, 1, 1), datetime.getdate(2010, 4, 30))}
{smidata.startswithfullmonth(datetime.getdate(2010, 1, 31), datetime.getdate(2010, 4, 30))}
{smidata.startswithfullmonth(datetime.getdate(2010, 2, 1), datetime.getdate(2010, 4, 30))}
{smidata.startswithfullmonth(datetime.getdate(2010, 2, 28), datetime.getdate(2010, 4, 30))}

{smidata.endswithfullmonth(datetime.getdate(2010, 1, 1), datetime.getdate(2010, 2, 27))}
{smidata.endswithfullmonth(datetime.getdate(2010, 1, 1), datetime.getdate(2010, 2, 28))}
{smidata.endswithfullmonth(datetime.getdate(2010, 1, 1), datetime.getdate(2010, 3, 30))}
{smidata.endswithfullmonth(datetime.getdate(2010, 1, 1), datetime.getdate(2010, 3, 31))}
Example Result CopyCode image Copy Code
true
false
true
false

false
true
false
true