There is no fixed period for Court Marriage. It depends on you which type of court marriage you want because different procedures take different times.
Normally Delhi court takes 3 to 4 days to register your marriage
If you want same day Court Marriage then it will take 2 to 4 hours
If you want court marriage without a ceremony it will take around 40 days to register your marriage because in this marriage court first issues 30 days’ notice.