This is a The SpongeBob Chronicles episode.
SpongeBob and Patrick are heartbroken when Sandy gets a letter from her pen pal in Texas. She has to go for her friend's birthday, so the two are bored until they see Squidward biking. They go to him and want to have "The Mysteriously Fun Day". They ask him very strange questions, such as did he read the 4th Harry Potter book. Then, they start translating a monkey, saying that the monkey is named George and likes to eat at most pie shops. Sandy comes back, and the two dump Squidward and The Mysteriously Fun Day. Squidward is left alone with George, who offers him a pie.