How To Get Current Date & Set To A Label. Can Anyone Please Provide Me Blocks?

How Can I Get Current Date Without Internet Connection And Set It To A Label? Please Someone Provide Me Those Blocks.

image

4 Likes

If I’m Not Wrong, Its For Current Time. But Actually I Want Current Date.

@alraakib,

I think the blocks below will do the work

(Note that I have changed the default pattern)

3 Likes

@Vaibhav Thanks A Lot, It Works. :grin: :grin:

1 Like

Sorry, i misread the question.

To show how powerfull the blocks are. If you use these blocks

image

you get this result in label1.text

So there is a lot of information. The other blocks take info from that.

If you want as in your case the current date and wouldn’t have the format date block you would have to do it like this to make it work.

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.