In ASP you could use this.
theDate = DateAdd( "s", 994701999, #1/1/1970 00:00# )
This will return you a standard Date type that you can use all Date
functions with.
Who needs perl? ;)
Jerod M. Bennett
Pixelpushers, Inc.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Kevin Bilbee
Sent: Tuesday, July 10, 2001 9:17 AM
To: [EMAIL PROTECTED]
Subject: Re: [IMail Forum] Last login date
Go to activestate.com and download perl. then install it and then use
perlscript in your asp page. <script language=perlscript><script> or
something close to that. It is in the activestate docs.
Kevin Bilbee
----- Original Message -----
From: "Chris Bone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 8:27 AM
Subject: RE: [IMail Forum] Last login date
How would I implement this PERL on an ASP page?
thanks in advance
Chris Bone
Web Engineer
Chartway Federal Credit Union
>>> [EMAIL PROTECTED] 07/09/01 06:00PM >>>
$normaltime = localtime($thevalue);
man perl is handy!
$o?`?o$o,,,,o$o?`?o$oo$o?`?o$o$o?`?o$o,,,,o$o?`?o$oo$o?`?o$o
splehP ttocS
rotartsinimdA smetsyS TN
secivreS tenretnI renroKbeW
moc.renrokbew@pttocs
moc.renrokbew.www
$a="@ARGV";while($a){$a=~s/(.$)//;$b=$b.$1;}print "$b\n";
$o?`?o$o,,,,o$o?`?o$oo$o?`?o$o$o?`?o$o,,,,o$o?`?o$oo$o?`?o$o
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Chris Bone
Sent: Monday, July 09, 2001 4:54 PM
To: [EMAIL PROTECTED]
Subject: Re: [IMail Forum] Last login date
so how can I decode this numeric value?
thanks in advance
Chris Bone
Web Engineer
Chartway Federal Credit Union
>>> [EMAIL PROTECTED] 07/09/01 02:19PM >>>
I am having real trouble figuring out the last login date. My server
date is 7/09/2001 when i login and the check my last login date i see
9/07/2001 for the date. I can see this is just flipped month and day
that is correct in some countries. The time of the login states
14:06:39 which is the correct time of the login. Now the database
whice stores this as a long integer says the last login is 994701999.
Does any one know how they make this translation. Is there some generic
calculation method to convert this. I want to check it from an ASP page
so I can delete or disable accounts.
________________________________________________________________
Sent via the WebMail system at lohrtech.com
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
smime.p7s