get computer date&time by ethernet shield

hello,, sorry my english is bad.. is it possible to get computer date&time by ethernet shield? i want to make web that display input from my sensor, and display when the data taken.. i have tried using ntp example on time library but its not working,,, thank you..