Skip to content

Modeling SELECT 'The time is ' || time('now'); #3

@idkjs

Description

@idkjs

Example https://repl.it/@idkjs/KnownLinearBase

How would you model the following with this library?

SELECT 'The time is ' || time('now');
SELECT 'Tomorrow will be ' || date('now', '+1 day');
SELECT 'Today is day ' ||
  (cast(
      julianday('now')
      - julianday('now', 'start of year')
    as int) + 1)
  || ' of ' || strftime('%Y', date('now'));

Or maybe its not expected to. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions