That depends entirely on two unknown factors: 1) How long it took for Luke & Ben to travel to Mos Eisley, and 2) How long the jump from Tattooine to Alderaan took.
You'd think the first on isn't so tricky because we know Luke set out looking for Artoo at dawn, and it seems to be near-ish suns down when he gets back to the burning homestead . . . but the position of the sun when they filmed a lot of the intervening scenes is all over the place, and it seems to actually be lighter back at the sandcrawler wreck.
32 INT. PLAZA LAR'S HOMESTEAD - MORNING
Morning slowly creeps into the sparse but sparkling oasis
of the open courtyard. The idyll is broken by the yelling
of Uncle Owen, his voice echoing throughout the homestead.
35 EXT. TATOOINE - ROCK MESA - DUNE SEA - COASTLINE - DAY
From high on a rock mesa, the tiny landspeeder can be seen
gliding across the desert floor. Suddenly in the foreground
two weather-beaten sandpeople shrouded in their grimy desert
cloaks peer over the edge of the rock mesa. One of the
marginally human creatures raises a long ominous laser
rifle and points it at the speeder but the second creature
grabs the gun before it can be fired.
46 EXT. TATOOINE - WASTELAND - DAY
The speeder zooms across the desert wasteland.
47 EXT. TATOOINE - BLUFF OVERLOOKING MOS EISLEY SPACEPORT - DAY
The speeder stops on a bluff overlooking the spaceport
at MOS EISLEY. It is a haphazard array of low gray concrete
structures and semidomes. A harsh gale blows across the
stark canyon floor. Luke adjusts his goggles and walks to
the edge of the craggy bluff where Ben is standing.
48 EXT. MOS EISLEY SPACEPORT - STREET - LATE AFTERNOON
The speeder is stopped on a crowded street by several
combat hardened stormtroopers who look over the two robots.
A trooper questions Luke.
NOTE: I am cherry picking a little here, since most of the intervening Mos Eisley EXT scene are unhelpfully labelled simply "DAY", or not at all. However the final shot of Tatooine appears to be telling.
59 EXT. MOS EISLEY SPACEPORT - STREET - MORNING
The half dozen stormtroopers at a check point hear the general
alarm and look to the sky as the huge starship rises above the
dingy slum dwellings and quickly disappears into the morning sky.
The sun in these last shots is pretty low, so it does seem to track. Of course that either means after making it to the overlook; Luke & Obi-Wan camped out before heading into Mos Eisley in the following morning, or they took up lodging for the night between meeting Han and selling the speeder. Given the urgency of their flight, I think the former is the more likely possibility.
It's probably also worth mentioning that the 'Complete Locations' books has Luke & Ben staying overnight in Bestine between the Sandcrawler and Mos Eisley.
I know this is technically canon, but I tend to err on the side of this kind of thing being "pencilled in" only unless it crops up in an actual story.
Either way, I'd say that means Luke & Ben spent about a day or two together before leaving the planet, though most of that would have been riding in a cramped speeder, so not exactly conducive to training.
As for the trip to Alderaan . . . eh. Hyperspace travel time is almost always deliberately vague. It could have taken them hours or days. Han does mention that they'll be there by 0200, but that's meaningless without a point of reference (plus they get there literally two and a half minutes later anyway.)
It doesn't help that in the time between Ben sensing the destruction of Alderaan, and the Falcon dropping out of hyperspace (again: literally minutes) Imperial scouts were able to get to Dantooine, make a preliminary search, find the old base, and report back while in the midst of mounting a larger search of the surrounding systems. So trying to pin down the length of the Falcon's flight seems a little futile to say the least.
I should note however that this time compression is all totally normal and necessary in a visual storytelling medium. Movies aren't documentaries, they're movies. Best to think of it the way Peter Jackson told his crew to think of LorR; pretending that these are real historical events that they're adapting into a movie, making editorial choices along the way like any adaptation must. The goal after all is to tell a story, not a dry recitation of facts; strictly accurate though they may be.
So don't worry too much about the chronology; perhaps in the original 'Journal of the Whills' texts this is all based on (

) it states that the journey from Tatooine to Alderaan took five rotations to avoid all the Imperial checkpoints. That Alderaan was actually destroyed on the second day of that trip, and the Imperial scouts took three days to get out to Dantooine; the movie just compressed those events together for clarity since the exact passage of time is unimportant.
All that matters is that Luke got
some instruction that at least opened his eyes to the possibilities of what he could do.
See Also: Basically the entire second act of 'The Empire Strikes Back'. That way lies madness!