Conditional data view in datatable to user

I am designing attendance report at the moment using Datatable. Some column have to be hidden or shown to some users.

Condition : If date mentioned in table header matches with current date, then only current user who logged in would be able to login and see only that table column, other columns with other dates should be hidden.
But no clue. I am at beginner level in JS. Please help.