{$match : {"createdAt":{"$gt":new Date(new Date().getFullYear(),0,1,0,59,59,999).toJSON() }}}
Here is output from the js function:
mongos> new Date(new Date().getFullYear(),0,1,0,59,59,999).toJSON()
2020-12-31T23:59:59.999Z
mongos>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…