Navigation

    CreatiCode Scratch Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Issues with date block (and questions)

    Feedback
    bug
    4
    3
    809
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tyller_
      Tyller_ Best Forum Helpers last edited by jeffreyrb03-gmail

      The date block soft crashes the project if you try to run it with another block inside it (no error screen, but all blocks stop outputting data, like from being clicked on or green flag), so

      date(2020.01.01)

      Works, but if you for example make “Time” a variable and do

      date(Time)

      It soft crashes, also how do we put time in the date, it shows the standard 00:00:00 military time by default for date, and after looking online I tried 2020.01.01T06:40:50 and it didn’t work, without the T as well

      <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
      </div>

      1 Reply Last reply Reply Quote 1
      • Tyller_
        Tyller_ Best Forum Helpers last edited by

        @lilly-123 yeah, it’s an issue with CreatiCode, the accounts don’t affect how the editor/engine works

        <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
        </div>

        info-creaticode 1 Reply Last reply Reply Quote 0
        • info-creaticode
          CreatiCode @Tyller_ last edited by

          @tyller_

          We have fixed the “date” block.

          We have also added a new block for representing how many seconds have passed since 2000.01.01, which is the typical way of handling timestamps. Please try the new block:

          https://www.forum.creaticode.com/topic/1510/number-of-seconds-since-2000

          1 Reply Last reply Reply Quote 1
          • First post
            Last post