I bought myself a lovely Fender Standard HSS strat, its perfect except it doesn't stay in perfect tuning for more than 20 minutes. I mean my crappy epiphone LP100 stayed in tune for days.

I still have the factory strings on it, but still advice?
'08 Gretsch White Falcon
'98 Fender USA Deluxe Tele
'79 Greco Les Paul Standard
Airline Stratotone Crafter GAE8

A bunch of funky pedals

Handwired 50 Watt Plexi Lead Clone w/ Orange 4x12
Either the strings or the tuning pegs.

I'd try replacing the strings first because they're cheaper and if not then you can always change the tuning pegs.
factory strings never stay in tune, it may be intonation as well but no guitar is perfect there. you wont know if its a problem with the tuning pegs until a couple of sets of strings go by (believe me you'll know if it is.)

just change the strings for now.
My Gear:
Gibson Faded Flying V
"Dante's Inferno" Iceman
Fender Hot Rod Deluxe 112

Quote by freedoms_stain
I can't imagine anything worse than shagging to Mark Knopfler.

Maybe shagging Mark Knopfler, but that's about it.
yeah, just try and have it restrung and if it doesn't work replace the tuning pegs
Traynor YCV50 Blue
epi les paul w/ SD Alnico II pros
Dunlop Slash Wah
EH Deluxe Memory Boy
Moen Jimi Vibe
Danelectro Cool Cat Fuzz
Zvex Vexter Fuzz Factory
VHT 2x12 w/ V30's