ClockTime/TimeNow

In the documentation about GPScript

gigperformer.com/docs_5_0/SystemFunctionList.html

the TimeNow function is described:

TimeNow : Gets the current time in milliseconds - deprecated

  • Declaration: function TimeNow () returns integer deprecated “Use TimeSinceStartup”
  • Warning – This function is deprecated. Use TimeSinceStartup
  • Category: System
  • returns integer

It mentions to use the TimeSinceStartup() instead, but I assume the ClockTime function is meant right?

This is correct.

This is when you want to display the current time.

Actually this is strange, as the descriptions of ClockTime and TImeNow are equal:

TimeNow : Gets the current time in milliseconds - deprecated
ClockTime : Gets the current time in milliseconds

It doesn’t matter anymore, as it is deprecated.

2 Likes