getTimeDifferenceInHours method
[String] getTimeDifferenceInHours(
- [[String] createdAtString]
)
Function returns the time difference in hours.
params:
createdAtString
: the time from post
returns:
String
: return a string
Implementation
String getTimeDifferenceInHours(String createdAtString)
- talawa
- pinned_post
- PinnedPost
- getTimeDifferenceInHours method