This is our old Q&A Site. Please post any new questions and answers at

How to convert MAC timestamp to the human date ?

asked 27 Jul '15, 12:47

Murat%20U%C3%A7an's gravatar image

Murat Uçan
accept rate: 0%

converted to question 27 Jul '15, 14:23

Guy%20Harris's gravatar image

Guy Harris ♦♦

Nothing in section 10.1 "Synchronization" of IEEE 802.11-2012 says anything about the Time Synchronization Function timer having a particular starting point in time, so you'd need some external form of synchronization between the MAC timestamp and some date/time timestamp.

Section "General" says:

Each STA shall maintain a TSF timer with modulus 264 counting in increments of microseconds. STAs expect to receive Beacon frames at a nominal rate. The interval between Beacon frames is defined by the dot11BeaconPeriod parameter of the STA. A STA sending a Beacon frame shall set the value of the Beacon frame’s timestamp so that it equals the value of the STA’s TSF timer at the time that the data symbol containing the first bit of the timestamp is transmitted to the PHY plus the transmitting STA’s delays through its local PHY from the MAC-PHY interface to its interface with the WM [e.g., antenna, light- emitting diode (LED) emission surface].

so you might be able to look at Beacon frames and use the frame timestamp of the Beacon frame to determine approximately what the MAC timestamp for the beacon frame corresponds to as a date and time.

permanent link

answered 27 Jul '15, 14:30

Guy%20Harris's gravatar image

Guy Harris ♦♦
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 27 Jul '15, 12:47

question was seen: 2,708 times

last updated: 27 Jul '15, 14:30

p​o​w​e​r​e​d by O​S​Q​A