UnixTime
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 02 September 2020 12:13 PM

Syntax

Public Function UnixTime(time As Date)As String

Description

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