

Calculating BSS API TimeStamp on Windows
This should probably work:
// Based on example from http://www.epochconverter.com/
var cpbmTime = (DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalMilliseconds;
The BSS API docs explain that REST requests need to include a timestamp.
The timestamp is the system clock in milliseconds. However, the system clock in Windows uses a different epoch than Linux / Unix.
Do you have any advice on how to calculate the timestamp from a Windows system clock?
This should probably work:
// Based on example from http://www.epochconverter.com/
var cpbmTime = (DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalMilliseconds;
Hi Donal,
BSS API expect timestamp to be in milli seconds.
If you are Executing BSS API from java you can use
long timeStamp = System.currentTimeMillis(); //i have tested this on unix and windows .
but looks like you are using VB.Net and in this case your solution should work.
Please let me know if you any further question.
Thanks,
Naveen
Ask, Discuss, Answer