How to get no of day from date in frappe?

like date filed = 20/11/2023
day = 1 it is monday first day of the week

Please describe what is a requirement and Use case. Be more specific so anyone can respond to your Query.

actully i solved the issue

How did you solved this?

by client script

@Jignesh_01 show me your code please I need it now

I need it please