better implementation of format date function on dashboard