PC Review


Reply
Thread Tools Rate Thread

Date field appear as long integer

 
 
John D via AccessMonster.com
Guest
Posts: n/a
 
      22nd Nov 2005
I am working on a access table which is link with some external software (3rd
party software).
Everything works fine but the date/time field is appearing as a long integer
value i.e. 1132675652 or 1132674975 etc. I want to convert this numerical
value to some sensible date and time format. I would really appreciate if
someone can advise how to do this.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ldata/200511/1
 
Reply With Quote
 
 
 
 
John Nurick
Guest
Posts: n/a
 
      22nd Nov 2005
These look like Unix date/time values. If so, this should do the job:

AccessDateValue = DateAdd("s", UnixTimeStamp, #01/01/1970#)

On Tue, 22 Nov 2005 20:35:14 GMT, "John D via AccessMonster.com"
<u10695@uwe> wrote:

>
>I am working on a access table which is link with some external software (3rd
>party software).
>Everything works fine but the date/time field is appearing as a long integer
>value i.e. 1132675652 or 1132674975 etc. I want to convert this numerical
>value to some sensible date and time format. I would really appreciate if
>someone can advise how to do this.


--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.

 
Reply With Quote
 
John D via AccessMonster.com
Guest
Posts: n/a
 
      28th Nov 2005
Bundle of thanks. Yes, it works for me.


John Nurick wrote:
>These look like Unix date/time values. If so, this should do the job:
>
> AccessDateValue = DateAdd("s", UnixTimeStamp, #01/01/1970#)
>
>>I am working on a access table which is link with some external software (3rd
>>party software).
>>Everything works fine but the date/time field is appearing as a long integer
>>value i.e. 1132675652 or 1132674975 etc. I want to convert this numerical
>>value to some sensible date and time format. I would really appreciate if
>>someone can advise how to do this.

>
>--
>John Nurick [Microsoft Access MVP]
>
>Please respond in the newgroup and not by email.


--
Message posted via http://www.accessmonster.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FindFirst when field is Long Integer =?Utf-8?B?RWQgQmxvb20=?= Microsoft Access VBA Modules 4 29th Nov 2007 12:54 PM
Changing an AutoIncrement Field to a Long Integer Field and Back Don Microsoft Access External Data 3 9th Dec 2005 03:23 AM
Changing an AutoIncrement Field to a Long Integer Field and Back Don Microsoft Access Database Table Design 3 9th Dec 2005 03:23 AM
long integer field (AutoNumber) michael@go-on-line.de Microsoft Access 4 5th Oct 2005 10:28 AM
Can't create Integer field, a Long Integer is created instead? cbu Microsoft Access Database Table Design 1 2nd Jan 2004 04:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:18 AM.