Correct way to set Sharepoint calculated field for Month

 - the bad solution "if(Month(TODAY())=Month([Created]))"


The good solution

FIELD "start the month"- returns this date: =DATE(YEAR([Created]),MONTH([Created]),1)
 FIELD " end the month"- returns this   

=DATE(YEAR([Created]),MONTH([Created])+1,1)-1

Comments

Popular posts from this blog

OverTheWire[.com] Natas Walkthrough - JUST HINT, NO SPOILERS

SOLVED The item could not be indexed successfully because the item failed in the indexing subsystem

Asp.Net Ending Response options, Response.End() vs CompleteRequest()