pftg4 102 Posted January 1, 2013 Report Share Posted January 1, 2013 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 10 Quote Link to post Share on other sites
Legend 181 Posted January 2, 2013 Report Share Posted January 2, 2013 Nice... Quote Link to post Share on other sites
The450Man 0 Posted January 2, 2013 Report Share Posted January 2, 2013 Thanks man. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted January 2, 2013 Report Share Posted January 2, 2013 thought you was needing help. I updated your title but so its found easier by others.. thanks for the thread. Quote Link to post Share on other sites
pftg4 102 Posted January 2, 2013 Author Report Share Posted January 2, 2013 yeah not very good at creating threads. not very good at sharing i'm working on it thanks Pftg4 1 Quote Link to post Share on other sites
VaultBoss 310 Posted January 23, 2013 Report Share Posted January 23, 2013 yeah not very good at creating threads. not very good at sharing You're wrong! The above is THE best argument against your statement. Good job! Kudos, mate... Quote Link to post Share on other sites
Bliss 194 Posted January 24, 2013 Report Share Posted January 24, 2013 Yeah Nice Share ty Quote Link to post Share on other sites
jomark3 25 Posted January 24, 2013 Report Share Posted January 24, 2013 Nice one! Quote Link to post Share on other sites
magoo 31 Posted January 24, 2013 Report Share Posted January 24, 2013 Thanks mate, this will come in handy.. Quote Link to post Share on other sites
bestmacros 60 Posted January 27, 2013 Report Share Posted January 27, 2013 simple and functional! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.