Skip to content

Add date function to get current date without time component #1936

Closed

Description

@paulrutter

Please introduce a function to get the current date without time component, so this is no longer needed:

DATE(YEAR(NOW()) + '-' + MONTH(NOW()) + '-' + DAY(NOW()))

See https://www.w3schools.com/sql/func_mysql_curdate.asp for example.

Activity

  1. added a commit that references this issue on Jun 18, 2024
  2. paulrutter commented on Jun 18, 2024

    @paulrutter
    ContributorAuthor
  3. paulrutter commented on Jun 18, 2024

    @paulrutter
    ContributorAuthor

    Naming of the function is up for debate.

  4. paulrutter commented on Jun 18, 2024

    @paulrutter
    ContributorAuthor

    'DATEDIFF' return 'DATEDIFF'
    probably needs updating as well.

  5. added 2 commits that reference this issue on Jun 19, 2024
  6. paulrutter commented on Jul 9, 2024

    @paulrutter
    ContributorAuthor

    Fixed in #1937

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions