packages/material-ui-lab/src/internal/pickers/hooks/useUtils.ts/useNow
export function useNow<TDate = unknown>() {
  const utils = useUtils<TDate>();
  const now = React.useRef(utils.date());

  return now.current!;
}