how to get system time

455919946

Client
Регистрация
31.12.2013
Сообщения
104
Благодарностей
4
Баллы
18
I am running a script.I need write system time into a txt in script.how to get system time.who give me a c# code.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
You can use variable {-TimeNow.Date-}
 

britalic

Пользователь
Регистрация
31.07.2012
Сообщения
33
Благодарностей
8
Баллы
8
You can use variable {-TimeNow.Date-}
hello, please where do I put {-TimeNow.Date-} ??

I tried putting it into java snippets, c# code I don't know where else. I did read the manual, it shows different ways to use it, but where do I put it?? searching the manual for "run a macro" brings me nothing. I am stumped, yes I know it is silly so I am SURE someone will tell me quickly please
:-)

thanks
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
hello, please where do I put {-TimeNow.Date-} ??

I tried putting it into java snippets, c# code I don't know where else. I did read the manual, it shows different ways to use it, but where do I put it?? searching the manual for "run a macro" brings me nothing. I am stumped, yes I know it is silly so I am SURE someone will tell me quickly please
:-)

thanks
It's a variable, not a macro. Just put it where you need to use it.
http://zennolab.com/wiki/en:variables
 
  • Спасибо
Реакции: britalic

britalic

Пользователь
Регистрация
31.07.2012
Сообщения
33
Благодарностей
8
Баллы
8
tobbe, thanks for trying to help but I don't get it. Right now to get the time I go to a website that displays it, scrape its dom, regex the time out, stick the time into a variable, then I have the time inside a variable. Here I simply have {-TimeNow.Date-}
 

britalic

Пользователь
Регистрация
31.07.2012
Сообщения
33
Благодарностей
8
Баллы
8
oops got it! lol Ijust had to cut all that lot of code out and add {-TimeNow.Date-} instead of my silly {scrapedtime} one. I knew it was a big brain fart there on my part :-) thanks man
 
  • Спасибо
Реакции: rostonix и Tobbe

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)