Skip to content

SET SECONDS (etc) vs TTOC() / DTOC() #9

Open

Description

@lscheffler

I found it hard to figure out that TTOC() without second parameter respects SET SECONDS.
It is mentioned for parameter2 in 1,3 that the output is not affected by SET SECONDS and so on, but nowhere clear that the other options are affected.

Activity

  1. self-assigned this
    on May 25, 2020
  2. FrancisFaure commented on May 25, 2020

    @FrancisFaure
    Collaborator

    Hi Ischeffler,

    I understand that you wish to add a sentence which specifies that in the case of using "TTOC () function" without the second parameter then the result depends on the commands:
    SET DATE, SET HOURS, SET SECONDS.

    Is it well your request?

    (Sorry for my bad english)

    Take care

    Regards
    Francis

  3. lscheffler commented on May 26, 2020

    @lscheffler
    Author

    This is the idea.
    Let's start:


    TTOC()

    If you check the text for second parameter = 2. there is some text saying the output is influenced by
    SET SECONDS and SET DATE commands. The SET HOURS
    The SET CENTURY is missing there
    This text looks a bit unsorted.

    For the TTOC() without second parameter all what is true for the section above is true too. So they could use the same text

    The text for second parameter is 1 or 3, it is not mentioned that SET DATE will be ignored.

    SET CENTURY is not mentioned in the Reference Section


    DTOC()

    The Parameters section on DTOC() does not mention SET CENTURY and SET DATE at all, only the Reference sections lists them.
    Reference on TTOC() listss both DATE() and DATETIME(), ON DTOC() DATE() is not mentioned.

  4. added a commit that references this issue on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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