The Prophecy of Daniel 9 

From the book of Daniel:

9:21 Yea, whiles I [was] speaking in prayer, even the man Gabriel, whom I had seen in the vision at the beginning, being caused to fly swiftly, touched me about the time of the evening oblation. 
9:22 And he informed [me], and talked with me, and said, O Daniel, I am now come forth to give thee skill and understanding. 
9:23 At the beginning of thy supplications the commandment came forth, and I am come to show [thee]; for thou [art] greatly beloved: therefore understand the matter, and consider the vision. 

9:24 Seventy weeks are determined upon thy people and upon thy holy city, to finish the transgression, and to make an end of sins, and to make reconciliation for iniquity, and to bring in everlasting righteousness, and to seal up the vision and prophecy, and to anoint the most Holy. 
9:25 Know therefore and understand, [that] from the going forth of the commandment to restore and to build Jerusalem unto the Messiah the Prince [shall be] seven weeks, and threescore and two weeks: the street shall be built again, and the wall, even in troublous times. 
9:26 And after threescore and two weeks shall Messiah be cut off, but not for himself: and the people of the prince that shall come shall destroy the city and the sanctuary; and the end thereof [shall be] with a flood, and unto the end of the war desolations are determined. 
9:27 And he shall confirm the covenant with many for one week: and in the midst of the week he shall cause the sacrifice and the oblation to cease, and for the overspreading of abominations he shall make [it] desolate, even until the consummation, and that determined shall be poured upon the desolate. 

NOTE:  The quote below, taken from The Desire of Ages page 233, describes this more clearly:

"The burden of Christ's preaching was, 'The time is fulfilled, and the kingdom of God is at hand; repent ye, and believe the gospel.' Thus the gospel message, as given by the Savior Himself, was based on the prophecies. The 'time' which He declared to be fulfilled was the period made known by the angel Gabriel to Daniel. 'Seventy weeks,' said the angel, 'are determined upon thy people and upon thy holy city, to finish the transgression, and to make an end of sins, and to make reconciliation for iniquity, and to bring in everlasting righteousness, and to seal up the vision and prophecy, and to anoint the most holy.' (Dan. 9:24) A day in prophecy stands for a year. (See Num. 14:34; Ezek. 4:6) The seventy weeks, or four hundred and ninety days, represent four hundred and ninety years.

"A starting point for this '70 weeks' period is given: 'Know therefore and understand, that from the going forth of the commandment to restore and to build Jerusalem unto the Messiah the Prince shall be seven weeks, and threescore and two weeks,' sixty-nine weeks, or four hundred and eighty-three years. (Dan. 9:25) The commandment to restore and build Jerusalem, as completed by the decree of Artaxerxes Longimanus (see Ezra 6:14; 7:1, 9, margin), went into effect in the autumn of B. C. 457. From this time four hundred and eighty-three years extend to the autumn of A. D. 27. According to the prophecy, this period was to reach to the Messiah, the Anointed One. In A. D. 27, Jesus at His baptism received the anointing of the Holy Spirit, and soon afterward began His ministry. Then the message was proclaimed. 'The time is fulfilled.'

"Then, said the angel, 'He shall confirm the covenant with many for one week (7 years).' For seven years after the Savior entered on His ministry, the gospel was to be preached especially to the Jews; for three and a half years by Christ Himself; and afterward by the apostles. 'In the midst of the week He shall cause the sacrifice and the oblation to cease.' (Dan. 9:27) In the spring of A. D. 31, Christ the true sacrifice was offered on Calvary. Then the veil of the temple was rent in twain, showing that the sacredness and significance of the sacrificial service had departed. The time had come for the earthly sacrifice and oblation to cease. 

"The one week--seven years--ended in A. D. 34. Then by the stoning of Stephen the Jews finally sealed their rejection of the gospel; the disciples who were scattered abroad by persecution 'went everywhere preaching the word' (Acts 8:4); and shortly after, Saul the persecutor was converted, and became Paul, the apostle to the Gentiles.

"The time of Christ's coming, His anointing by the Holy Spirit, His death, and the giving of the gospel to the Gentiles, were definitely pointed out."