josh12345 0 Posted March 24, 2011 Report Share Posted March 24, 2011 I'm building a simple bot that fills a form and scrapes the results. There's only one part of it I'm stuck on and I'm wondering if this can be accomplished with ubot. In one of the text boxes on the form, I need to input one day later than the current date and time. The $date function could possibly be used and then added to by a day? If anyone knows how to do this that would be great. Quote Link to post Share on other sites
JohnB 255 Posted March 24, 2011 Report Share Posted March 24, 2011 You may be able to use javascript math functions, but I would need to see the site to know for sure. John Quote Link to post Share on other sites
UBotBuddy 331 Posted March 24, 2011 Report Share Posted March 24, 2011 I have not played with this in a while but here is a bot for dealing with different data formats.date-n-time.ubot 1 Quote Link to post Share on other sites
Biks 9 Posted March 27, 2011 Report Share Posted March 27, 2011 Hey BotBuddy - thanks for that bot. I've been looking for a way to insert the date into the title of a saved text file. Obviously I would need to change the formatting of the date since slashes can't be used. Yup, I know I could reformat it with a replace or javascript strings...but eh, I'll get to it on another day. Quote Link to post Share on other sites
UBotBuddy 331 Posted March 27, 2011 Report Share Posted March 27, 2011 Glad you like! How about a Plus +1 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.