Das Wissen aller Anwender nutzen

Im Allplan Connect Forum tauschen sich Anwender aus, geben wertvolle Tipps oder beraten sich bei ganz konkreten Aufgabenstellungen − auch international.
Und damit wirklich keine Frage unbeantwortet bleibt, unterstützen die Mitarbeiter des Technischen Supports ebenfalls aktiv das Forum.

Es erwarten Sie:

  • Foren-Vielfalt aus CAD Architektur, CAD Ingenieurbau uvm.
  • Tipps von User für User
  • international: Deutsch, Englisch, Italienisch, Französisch und Tschechisch

Melden Sie sich jetzt an und diskutieren Sie mit!

Zur Registrierung

Request "datetime"

Schlagworte:

Hi,

How to request the datetime of the computer? And we would like to know how to return a integer value without quotes: for example, for the month, instead value "05", we would like 5 and without quotes.

Thanks a lot!
Xavier C.A.

Xavier Coll • Architect, Project Manager I+D, BIM Manager, BIM Auditor
EiPM • http://www.eipm.es/en/

Hey,

how about something like

n = REQUEST ( "DateTime" , "%x" , your_datetime )
PRINT your_datetime

?

Deleting the `0` in 05 ... hmm, i think, you have to do that manually by using SPLIT(), SUBSTR() and so on, if the month is smaller than 10.

Hi Martin!

Thanks a lot! I will try it later :-D

Best Regards,
Xavier C.A.

Xavier Coll • Architect, Project Manager I+D, BIM Manager, BIM Auditor
EiPM • http://www.eipm.es/en/