Knowledgebase:
UnixTime
Posted by Mohammad Rahhal, Last modified by Angham Al-Banawien on 04 July 2018 02:01 PM


Syntax

Public Function UnixTime(time As Date)As String

This function is used to track time as a running total of seconds elapsed from 00:00 January 1, 1970.

Parameters

Key Description 
Time Time to get the total seconds for it, value of type Date.


Return value

Returns the unix time as a string value.


Sample

Public Sub main()

AlertMessage UnixTime(CurTime()) ' to get the unix time 

End Sub

 


See Also


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions