Smoking weed to get rid of cramps ?

Do you think smoking weed(marijuana) will get rid of cramps for a few mins to hours ??