Avatar
Please consider registering
guest
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_TopicIcon
How to increase the resolution of server-side timestamps
May 11, 2018
16:32, EEST
Avatar
Mike.Stair
Member
Members
Forum Posts: 12
Member Since:
January 12, 2018
sp_UserOfflineSmall Offline

Hi,

Is there a way to increase the resolution of the timestamp when a value is written?

As can be seen below, the time resolution is in milliseconds
DataValue(value=1, statusCode=GOOD (0x00000000) “”, sourceTimestamp=05/11/18 10:29:17.2730000 GMT, sourcePicoseconds=0, serverTimestamp=05/11/18 10:29:17.2730000 GMT, serverPicoseconds=0)

I also have the same problem with the logs generated. Is there a way here to increase the resolution?

Thanks,
Regards
Mike

May 11, 2018
18:29, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1044
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

I didn’t quite get it what you are doing or why this is a problem.

But if you create the DataValue yourself, you can provide the timestamps as you wish.

If you are concerned what they look like, you can of course use a custom print or custom format.

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 87
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 100
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 773
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1558
Posts: 6567
Newest Members:
aracelyhaley4, raphaelschonell, Ashmag, kathyreimann56, brittanylemos, dorthycundiff76, PromotionToold, CHHinrichs, rodricklienhop, jose_Wanderlei
Moderators: Jouni Aro: 1039, Pyry: 1, Petri: 1, Bjarne Boström: 1054, Jimmy Ni: 26, Matti Siponen: 359, Lusetti: 0
Administrators: admin: 1