tuitio-client-react/tests/utils/dateUtils.ts

5 lines
149 B
TypeScript

export const getTodayAtNoon = () => {
const now = new Date();
return new Date(now.getFullYear(), now.getMonth(), now.getDate(), 12, 0, 0, 0);
};