Discuss Scratch

seeqsfisher
Scratcher
10 posts

EST time

hello, I'm new to the forms so if my block below doesn't work I'm sorry.
I want to be able to see the current EST time and not just the current time for the user by using a drop down menu in the time block
(current [hour v][est v])
DaEpikDude
Scratcher
1000+ posts

EST time

I think a much more general block would be adding to the “time” block:
(current [time zone v])
Then you could figure out the time based on what the block reports.
For example if you wanted to find out UTC time you could use the current hour minus the time zone etc.

Last edited by DaEpikDude (Sept. 15, 2017 03:02:01)


And all the world over, each nation's the same,
They've simply no notion of playing the game.
They argue with umpires, they cheer when they've won,
And they practice beforehand, which ruins the fun!
BY147258369
Scratcher
1000+ posts

EST time

You could do the conversion of:


(current [hour v]) // or whatever these blocks are. I don't use them often.

put in with:

(() + (3)) // This would be from PST to EST.

Resulting in:

((current [Hour v]) + (3))


Edit: Ninja'd by a few seconds. Read above post.

Last edited by BY147258369 (Sept. 15, 2017 00:00:16)


seeqsfisher
Scratcher
10 posts

EST time

DaEpikDude wrote:

I think a much more general block would be adding to the “time” block:
(current [time zone v])
Then you could figure out the time based on what the block reports.
For example if you wanted to find out UST time you could use the current hour minus the time zone etc.
this would make much more sense than my idea.
DownsGameClub
Scratcher
1000+ posts

EST time

BY147258369 wrote:

You could do the conversion of:


(current [hour v]) // or whatever these blocks are. I don't use them often.

put in with:

(() + (3)) // This would be from PST to EST.

Resulting in:

((current [Hour v]) + (3))


Edit: Ninja'd by a few seconds. Read above post.
Doesn't "Current t" use the computer's time, though?

Anyways, this would be cool. However, the technical term should be:
UTC -2
UTC -1
UTC
UTC 1
UTC 2
and so on. For reference, -4 is EST, -5 is CST, and so on…

–DGC
Scratcher since Aug. 2015 +++ Fire Alarm Enthusiast +++ College student studying fire protection engineering
FancyFoxy
Scratcher
500+ posts

EST time

DaEpikDude wrote:

I think a much more general block would be adding to the “time” block:
(current [time zone v])
Then you could figure out the time based on what the block reports.
For example if you wanted to find out UTC time you could use the current hour minus the time zone etc.

There is one flaw in this block, though.

Say I got an engine that can store strings in cloud. I can use that in association with the “username” block and now the “current time zone” block to learn about what area on the world they fall in, even if they don't want to tell.

THIS IS MY SIGNATURE. THIS MEANS IT IS AN AUTOMATIC MESSAGE THAT APPEARS AT THE BOTTOM OF ALL MY POSTS.
Hi! I'm FancyFoxy! I create animations and games that were never, EVER meant to be taken seriously.
FancyFoxy Heroes and #Thanksgiving are some of my latest projects, check them out!
DaEpikDude
Scratcher
1000+ posts

EST time

FancyFoxy wrote:

DaEpikDude wrote:

I think a much more general block would be adding to the “time” block:
(current [time zone v])
Then you could figure out the time based on what the block reports.
For example if you wanted to find out UTC time you could use the current hour minus the time zone etc.

There is one flaw in this block, though.

Say I got an engine that can store strings in cloud. I can use that in association with the “username” block and now the “current time zone” block to learn about what area on the world they fall in, even if they don't want to tell.
I suppose, but the problem with that is that you can tell which 1/24 of the world they live in. Not extremely helpful.
Also, that's an inherent problem with any sort of time zone block: even if the block was “current hour in UTC”, you could figure out what time zone the user is in.

And all the world over, each nation's the same,
They've simply no notion of playing the game.
They argue with umpires, they cheer when they've won,
And they practice beforehand, which ruins the fun!
FancyFoxy
Scratcher
500+ posts

EST time

DaEpikDude wrote:

FancyFoxy wrote:

DaEpikDude wrote:

I think a much more general block would be adding to the “time” block:
(current [time zone v])
Then you could figure out the time based on what the block reports.
For example if you wanted to find out UTC time you could use the current hour minus the time zone etc.

There is one flaw in this block, though.

Say I got an engine that can store strings in cloud. I can use that in association with the “username” block and now the “current time zone” block to learn about what area on the world they fall in, even if they don't want to tell.
I suppose, but the problem with that is that you can tell which 1/24 of the world they live in. Not extremely helpful.
Also, that's an inherent problem with any sort of time zone block: even if the block was “current hour in UTC”, you could figure out what time zone the user is in.
Not exactly. Just knowing what the current hour is in EST is not going to tell what time zone the user is in. They could be in EST, they could not. The one thing I think this block will be useful for is making timers for games where you can leave and return to a game and stuff that you started “building”, for example, could be finished by the time you're back. With those timers, someone could easily cheat on the system and change the time zone they appear in. However, this keeps a definite time.

THIS IS MY SIGNATURE. THIS MEANS IT IS AN AUTOMATIC MESSAGE THAT APPEARS AT THE BOTTOM OF ALL MY POSTS.
Hi! I'm FancyFoxy! I create animations and games that were never, EVER meant to be taken seriously.
FancyFoxy Heroes and #Thanksgiving are some of my latest projects, check them out!
DaEpikDude
Scratcher
1000+ posts

EST time

FancyFoxy wrote:

DaEpikDude wrote:

FancyFoxy wrote:

DaEpikDude wrote:

I think a much more general block would be adding to the “time” block:
(current [time zone v])
Then you could figure out the time based on what the block reports.
For example if you wanted to find out UTC time you could use the current hour minus the time zone etc.

There is one flaw in this block, though.

Say I got an engine that can store strings in cloud. I can use that in association with the “username” block and now the “current time zone” block to learn about what area on the world they fall in, even if they don't want to tell.
I suppose, but the problem with that is that you can tell which 1/24 of the world they live in. Not extremely helpful.
Also, that's an inherent problem with any sort of time zone block: even if the block was “current hour in UTC”, you could figure out what time zone the user is in.
Not exactly. Just knowing what the current hour is in EST is not going to tell what time zone the user is in. They could be in EST, they could not. The one thing I think this block will be useful for is making timers for games where you can leave and return to a game and stuff that you started “building”, for example, could be finished by the time you're back. With those timers, someone could easily cheat on the system and change the time zone they appear in. However, this keeps a definite time.
I'm saying that since you could have a block that reports from a specific time zone and a block that reports the current time (the normal current whatever blocks), you can figure out time zones.

And all the world over, each nation's the same,
They've simply no notion of playing the game.
They argue with umpires, they cheer when they've won,
And they practice beforehand, which ruins the fun!
FancyFoxy
Scratcher
500+ posts

EST time

DaEpikDude wrote:

FancyFoxy wrote:

DaEpikDude wrote:

FancyFoxy wrote:

DaEpikDude wrote:

I think a much more general block would be adding to the “time” block:
(current [time zone v])
Then you could figure out the time based on what the block reports.
For example if you wanted to find out UTC time you could use the current hour minus the time zone etc.

There is one flaw in this block, though.

Say I got an engine that can store strings in cloud. I can use that in association with the “username” block and now the “current time zone” block to learn about what area on the world they fall in, even if they don't want to tell.
I suppose, but the problem with that is that you can tell which 1/24 of the world they live in. Not extremely helpful.
Also, that's an inherent problem with any sort of time zone block: even if the block was “current hour in UTC”, you could figure out what time zone the user is in.
Not exactly. Just knowing what the current hour is in EST is not going to tell what time zone the user is in. They could be in EST, they could not. The one thing I think this block will be useful for is making timers for games where you can leave and return to a game and stuff that you started “building”, for example, could be finished by the time you're back. With those timers, someone could easily cheat on the system and change the time zone they appear in. However, this keeps a definite time.
I'm saying that since you could have a block that reports from a specific time zone and a block that reports the current time (the normal current whatever blocks), you can figure out time zones.
Oh, that makes sense. Hmm…

THIS IS MY SIGNATURE. THIS MEANS IT IS AN AUTOMATIC MESSAGE THAT APPEARS AT THE BOTTOM OF ALL MY POSTS.
Hi! I'm FancyFoxy! I create animations and games that were never, EVER meant to be taken seriously.
FancyFoxy Heroes and #Thanksgiving are some of my latest projects, check them out!
DaEpikDude
Scratcher
1000+ posts

EST time

FancyFoxy wrote:

DaEpikDude wrote:

-snip
Oh, that makes sense. Hmm…
Yeah, but to reiterate my previous statement, since it's pretty general it's not particularly a problem.
I think…

And all the world over, each nation's the same,
They've simply no notion of playing the game.
They argue with umpires, they cheer when they've won,
And they practice beforehand, which ruins the fun!

Powered by DjangoBB