Jump to content
UBot Underground

A little help with the new year ($date breakdown tutorial)


Recommended Posts

Happy new year guys!!!!

 

Seen a lot of posts for while now about the Date people trying to get date with JavaScript with $eval command.

 

using regular expressions also with ubot $Date command.

 

 

So wanted to share a very very easy way to get any info you need in one node.

 

Full Ubot Date.

 

set(#Ubot Date, $date, "Global")

 

Date.

 

set(#Date, $substring($date, 0, 10), "Global")

 

 

Day.

 

set(#Day, $substring($date, 3, 2), "Global")

 

 

Month.

 

set(#Month, $substring($date, 0, 2), "Global")

 

 

Year.

 

set(#Year, $substring($date, 6, 4), "Global")

 

 

 

Time.

 

set(#Time, $substring($date, 11, 8), "Global")

 

 

Hours.

 

set(#Hours, $substring($date, 11, 2), "Global")

 

 

Mins.

 

set(#Mins, $substring($date, 14, 2), "Global")

 

 

Seconds.

 

set(#Seconds, $substring($date, 17, 2), "Global")

 

i'm sure this will help someone

 

 

 

Pftg4

  • Like 10
Link to post
Share on other sites
  • 3 weeks later...
yeah not very good at creating threads.

 

not very good at sharing :rolleyes:

 

You're wrong!  The above is THE best argument against your statement.

 

Good job!  Kudos, mate...

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...