Include current date to extracted data

Advanced programming using WinTask scripting language

Include current date to extracted data

Postby Hamadi on Thu Oct 04, 2012 12:54 pm

Hello everyone,

I am running a macro to extract flight prices. The extracted flight prices are written to a xls file. I need to find a way to include the current date (date on which price was extracted) along with the flight price. Any idea?
Posts: 21
Joined: Wed May 25, 2005 10:18 am

Re: Include current date to extracted data

Postby TechSupport on Fri Oct 05, 2012 2:13 pm


You can concatenate date information to the captured data. Let's say that your captured data are in tab$() array.
For the ith element, you can add the date using:
WinTask includes functions for Year, Hour, Minute, Second too, you can look at all the available functions in the Editor, the right pane which lists all the functions.

WinTask Tech Support
Posts: 805
Joined: Thu Nov 16, 2006 9:58 am

Return to Scripts programming

Who is online

Users browsing this forum: No registered users and 1 guest