Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Generate year to first calendar date of the year

    I have year data, but how can I make the year variable to the first calendar date of the year? Year is double type and new variable is float type
    For example,
    YEAR -> New variable
    2001 -> 01jan2001
    2002 -> 01jan2002
    2003 -> 01jan2003
    2004 -> 01jan2004
    Last edited by BB Kim; 04 Mar 2023, 11:47.

  • #2
    See

    Code:
    help datetime
    to find that dofy() does this mapping.

    Comment


    • #3
      Sorry; duplicated post.

      Comment

      Working...
      X