Skip Navigational Links
LISTSERV email list manager
LISTSERV - COMMUNITY.EMAILOGY.COM
LISTSERV Menu
Log In
Log In
LISTSERV 17.5 Help - LSTSRV-L Archives
LISTSERV Archives
LISTSERV Archives
Search Archives
Search Archives
Register
Register
Log In
Log In

LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Menu
LISTSERV Archives LISTSERV Archives
LSTSRV-L Home LSTSRV-L Home

Log In Log In
Register Register

Subscribe or Unsubscribe Subscribe or Unsubscribe

Search Archives Search Archives
Options: Use Forum View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
Re: Visual Basic formula or function to calculate timestamps?
From:
Bill Schipper <[log in to unmask]>
Reply To:
LISTSERV give-and-take forum <[log in to unmask]>
Date:
Sat, 6 Apr 2002 14:41:58 -0330
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
My VBA help files tell me that VBA also has time function, which returns the
current system time.   There are three of them:

    Date     returns the current date (in the default format of your system)
    Time    returns the current time (in the default format of your system)
    Now    returns the current date and time (in the default format of your
system)

The value can be returned in a variable.


Steven Sobol wrote:

> Good morning!
>
> I am using Listserv with a Microsoft SQL Server database on the backend,
> holding the subscriber lists.
>
> When inserting a record into the database (i.e., subscribing a new list
> member), I'd like to include a timestamp so that the list owner knows when
> the list member subscribed.
>
> The Developer's Guide refers to a formula based on the C time() function
> that can be used to calculate the timestamp. However, time() calculates
> the number of seconds since (I believe) 1/1/1970, and I can not find a
> function that will do the same thing in Visual Basic.
>
> I need such a function, since the subscribe script is an Active Server Page
> running VBScript.
>
> --
> Steven J. Sobol
> Lead Developer - Access Link Communications
> Home of Empowersite (http://www.empowersite.com)
> 216 521-LINK

ATOM RSS1 RSS2

COMMUNITY.EMAILOGY.COM CataList Email List Search Powered by LISTSERV