As almost in any case with computer science, the answer is "depends".
UML diagrams can be very useful to represent a system to someone which is not technical enough to understand code, but can understand the basics of the diagrams.
Personally, to myself it's usually more a waste of my time.