Get actual time in numeric format

javier

Новичок
Регистрация
25.08.2012
Сообщения
93
Благодарностей
0
Баллы
0
Hi,

I want put in a variable the actual time in numeric format, now here are 0145.

I search in forum, but no find nothing:eek:

I think is posible send this with javascript code. I can only fin this code, new Date(), but this not are numeric format Wed Aug 29 01:47:00 UTC+1 2012.


Thanks for your replyes
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Java:

Код:
var d = new Date();
var result = d.toDateString();
Or you can use variable:

Код:
{-TimeNow.Date-}
 
  • Спасибо
Реакции: javier

SeoSexanSun

Новичок
Регистрация
25.05.2011
Сообщения
24
Благодарностей
0
Баллы
1
If u only want the day/month/year

Use word processing > substring ({-TimeNow.Date-}) 0 to 10
 

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