skip to Main Content

get redis server time with redistemplate

On Spring Boot I want to get millis of Redis server with RedisTemplate. Like this redis> TIME "1687736427" "339025" redis> TIME "1687736427" "339285" redis> But reference says, "Template does not Support Time". Is there no way? /* thank you!! lant.…

VIEW QUESTION

Android Studio – Using kotlin 1.8.22 version using command prompt , toUpperCase() and toLowerCase() not working reason

fun main() { var txt = "Hello World" println(txt.toUpperCase()) println(txt.toLowerCase()) } Error: D:kt>kotlinc Upper_Lower_case.kt Upper_Lower_case.kt:4:13: warning: 'toUpperCase(): String' is deprecated. Use uppercase() instead. println(txt.toUpperCase()) ^ Upper_Lower_case.kt:5:13: warning: 'toLowerCase(): String' is deprecated. Use lowercase() instead. println(txt.toLowerCase()) Using kotlin 1.8.22 version using…

VIEW QUESTION
Back To Top
Search