Titan
Joined: 11 Aug 2004 Posts: 5026 Location: imaginationland
|
Posted: Mon Feb 18, 2008 2:17 pm Post subject: |
|
|
OMG this is crazy, DateParse() accepts German!
| Code: | SetBatchLines, -1
tf = %A_Temp%\e
URLDownloadToFile, http://viv.ebay.de/ws/eBayISAPI.dll?EbayTime, %tf%
FileRead, html, %tf%
StringGetPos, p, html, eBay Deutschland
StringMid, time, html, p += 40, InStr(html, "</", "", p) - p
time := DateParse(time) ; http://www.autohotkey.com/forum/topic20405.html
MsgBox, %time% |
I don't know what the MEZ timezone is though. You can easily offset the minutes with EnvAdd because time will be an ahk-format timestamp (see FormatTime). _________________
RegExReplace("irc.freenode.net/autohotkey", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|