WIP groups: API addition

Try to see my last PR #2560 
if this PR will be merged, manually setting the date will not be necessary... ;)